Click or drag to resize

ButtonSpecManagerLayout Class

Manage a collection of button specs for placing within a collection of ViewLayoutDocker instances.
Inheritance Hierarchy

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public class ButtonSpecManagerLayout : ButtonSpecManagerBase

The ButtonSpecManagerLayout type exposes the following members.

Constructors
  NameDescription
Public methodButtonSpecManagerLayout(Control, PaletteRedirect, ButtonSpecCollectionBase, ButtonSpecCollectionBase, ViewLayoutDocker, IPaletteMetric, PaletteMetricInt, PaletteMetricPadding, GetToolStripRenderer, NeedPaintHandler)
Initialize a new instance of the ButtonSpecManagerLayout class.
Public methodButtonSpecManagerLayout(Control, PaletteRedirect, ButtonSpecCollectionBase, ButtonSpecCollectionBase, ViewLayoutDocker, IPaletteMetric, PaletteMetricInt, PaletteMetricInt, PaletteMetricPadding, GetToolStripRenderer, NeedPaintHandler)
Initialize a new instance of the ButtonSpecManagerLayout class.
Top
Properties
  NameDescription
Public propertyButtonSpecViews
Gets an array containing references of all the current views.
(Inherited from ButtonSpecManagerBase.)
Public propertyControl
Gets the owning control.
(Inherited from ButtonSpecManagerBase.)
Protected propertyDockerCount
Gets the number of dockers.
(Overrides ButtonSpecManagerBaseDockerCount.)
Public propertyId
Gets the unique identifier of the object.
(Inherited from GlobalId.)
Public propertyNeedPaint
Gets and sets the need paint delegate for notifying paint requests.
(Inherited from ButtonSpecManagerBase.)
Public propertyToolTipManager
Gets and sets the associated tooltip manager.
(Inherited from ButtonSpecManagerBase.)
Protected propertyUseInsideSpacers
Gets a value indicating if inside edge spacers are required.
(Inherited from ButtonSpecManagerBase.)
Public propertyUseMnemonic
Gets and sets the use of mnemonics.
(Inherited from ButtonSpecManagerBase.)
Top
Methods
  NameDescription
Protected methodAddSpacersToDocker
Add the spacing views into the indexed docker.
(Overrides ButtonSpecManagerBaseAddSpacersToDocker(Int32, ViewLayoutMetricSpacer, ViewLayoutMetricSpacer).)
Protected methodAddViewToDocker
Add a view element to a docker.
(Overrides ButtonSpecManagerBaseAddViewToDocker(Int32, ViewDockStyle, ViewBase, Boolean).)
Protected methodButtonSpecCreated
Perform final steps now that the button spec has been created.
(Inherited from ButtonSpecManagerBase.)
Public methodButtonSpecFromView
Gets the ButtonSpec associated with the provided view element.
(Inherited from ButtonSpecManagerBase.)
Public methodConstruct
Perform once only construction.
(Inherited from ButtonSpecManagerBase.)
Public methodCreateButtonSpecRemap
Create a palette redirector for remapping button spec colors.
(Inherited from ButtonSpecManagerBase.)
Protected methodCreateButtonSpecView
Create the button spec view appropriate for the button spec.
(Inherited from ButtonSpecManagerBase.)
Public methodDesignerGetHitTest
Is the provided over a part of the view that wants the mouse.
(Inherited from ButtonSpecManagerBase.)
Public methodDestruct
Destruct the previously created views.
(Inherited from ButtonSpecManagerBase.)
Protected methodDockerIndex
Gets the index of the provided docker.
(Overrides ButtonSpecManagerBaseDockerIndex(ViewBase).)
Protected methodDockerOrientation
Gets the orientation of the docker at the specified index.
(Overrides ButtonSpecManagerBaseDockerOrientation(Int32).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetButtonRectangle
Get the display rectangle of the provided button.
(Inherited from ButtonSpecManagerBase.)
Public methodGetButtonSpecFromView
Find the ButtonSpec definition associated with the provided button view.
(Inherited from ButtonSpecManagerBase.)
Protected methodGetDockerForeground
Gets the element that represents the foreground color.
(Overrides ButtonSpecManagerBaseGetDockerForeground(Int32).)
Public methodGetFirstVisibleViewButton
Gets the view for the first visible and enabled button spec of the defined edge.
(Inherited from ButtonSpecManagerBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLastVisibleViewButton
Gets the view for the last visible and enabled button spec of the defined edge.
(Inherited from ButtonSpecManagerBase.)
Public methodGetNextVisibleViewButton
Gets the view for the next visible and enabled button spec of the defined edge.
(Inherited from ButtonSpecManagerBase.)
Public methodGetPreviousVisibleViewButton
Gets the view for the previous visible and enabled button spec of the defined edge.
(Inherited from ButtonSpecManagerBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIndexDocker
Gets the docker at the specified index.
(Overrides ButtonSpecManagerBaseIndexDocker(Int32).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnNeedPaint
Raises the NeedPaint event.
(Inherited from ButtonSpecManagerBase.)
Public methodPerformNeedPaint(Boolean)
Requests a repaint and optional layout be performed.
(Inherited from ButtonSpecManagerBase.)
Public methodPerformNeedPaint(Object, Boolean)
Requests a repaint and optional layout be performed.
(Inherited from ButtonSpecManagerBase.)
Public methodProcessMnemonic
Processes a mnemonic character.
(Inherited from ButtonSpecManagerBase.)
Public methodRecreateButtons
Requests that all the buttons be recreated.
(Inherited from ButtonSpecManagerBase.)
Public methodRefreshButtons
Requests that all the buttons have state refreshed.
(Inherited from ButtonSpecManagerBase.)
Public methodRefreshButtons(Boolean)
Requests that all the buttons have state refreshed.
(Inherited from ButtonSpecManagerBase.)
Public methodRenderToolStrip
Get a tool strip renderer appropriate for the hosting control.
(Inherited from ButtonSpecManagerBase.)
Public methodSetDockerMetrics(ViewBase, IPaletteMetric)
Update the palette for a specified docker view.
(Inherited from ButtonSpecManagerBase.)
Public methodSetDockerMetrics(ViewBase, IPaletteMetric, PaletteMetricInt, PaletteMetricPadding)
Update the metric details for a specified docker view.
(Inherited from ButtonSpecManagerBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also