C# Класс ComponentFactory.Krypton.Toolkit.ButtonSpecManagerDraw

Manage a collection of button specs for placing within a collection of ViewDrawDocker instances.
Наследование: ButtonSpecManagerBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ButtonSpecManagerDraw ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewDrawDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricIntOutside, PaletteMetricInt viewMetricIntInside, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ButtonSpecManagerDraw class.

ButtonSpecManagerDraw ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewDrawDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricInt, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ButtonSpecManagerDraw class.

Защищенные методы

Метод Описание
AddSpacersToDocker ( int i, ViewLayoutMetricSpacer spacerL, ViewLayoutMetricSpacer spacerR ) : void

Add the spacing views into the indexed docker.

AddViewToDocker ( int i, ViewDockStyle dockStyle, ViewBase view, bool usingSpacers ) : void

Add a view element to a docker.

DockerIndex ( ViewBase viewDocker ) : int

Gets the index of the provided docker.

DockerOrientation ( int i ) : VisualOrientation

Gets the orientation of the docker at the specified index.

GetDockerForeground ( int i ) : ViewDrawContent

Gets the element that represents the foreground color.

IndexDocker ( int i ) : ViewBase

Gets the docker at the specified index.

Описание методов

AddSpacersToDocker() защищенный Метод

Add the spacing views into the indexed docker.
protected AddSpacersToDocker ( int i, ViewLayoutMetricSpacer spacerL, ViewLayoutMetricSpacer spacerR ) : void
i int Index of docker.
spacerL ViewLayoutMetricSpacer Spacer for the left side.
spacerR ViewLayoutMetricSpacer Spacer for the right side.
Результат void

AddViewToDocker() защищенный Метод

Add a view element to a docker.
protected AddViewToDocker ( int i, ViewDockStyle dockStyle, ViewBase view, bool usingSpacers ) : void
i int Index of view docker.
dockStyle ViewDockStyle Dock style for placement.
view ViewBase Actual view to add.
usingSpacers bool Are view spacers being used.
Результат void

ButtonSpecManagerDraw() публичный Метод

Initialize a new instance of the ButtonSpecManagerDraw class.
public ButtonSpecManagerDraw ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewDrawDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricIntOutside, PaletteMetricInt viewMetricIntInside, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System
control System.Windows.Forms.Control Control that owns the button manager.
redirector PaletteRedirect Palette redirector.
variableSpecs ButtonSpecCollectionBase Variable set of button specifications.
fixedSpecs ButtonSpecCollectionBase Fixed set of button specifications.
viewDockers ViewDrawDocker Array of target view dockers.
viewMetrics IPaletteMetric Array of target metric providers.
viewMetricIntOutside PaletteMetricInt Array of target metrics for outside spacer size.
viewMetricIntInside PaletteMetricInt Array of target metrics for inside spacer size.
viewMetricPaddings PaletteMetricPadding Array of target metrics for button padding.
getRenderer GetToolStripRenderer Delegate for returning a tool strip renderer.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System

ButtonSpecManagerDraw() публичный Метод

Initialize a new instance of the ButtonSpecManagerDraw class.
public ButtonSpecManagerDraw ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewDrawDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricInt, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System
control System.Windows.Forms.Control Control that owns the button manager.
redirector PaletteRedirect Palette redirector.
variableSpecs ButtonSpecCollectionBase Variable set of button specifications.
fixedSpecs ButtonSpecCollectionBase Fixed set of button specifications.
viewDockers ViewDrawDocker Array of target view dockers.
viewMetrics IPaletteMetric Array of target metric providers.
viewMetricInt PaletteMetricInt Array of target metrics for outside/inside spacer size.
viewMetricPaddings PaletteMetricPadding Array of target metrics for button padding.
getRenderer GetToolStripRenderer Delegate for returning a tool strip renderer.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System

DockerIndex() защищенный Метод

Gets the index of the provided docker.
protected DockerIndex ( ViewBase viewDocker ) : int
viewDocker ViewBase View docker reference.
Результат int

DockerOrientation() защищенный Метод

Gets the orientation of the docker at the specified index.
protected DockerOrientation ( int i ) : VisualOrientation
i int Index.
Результат VisualOrientation

GetDockerForeground() защищенный Метод

Gets the element that represents the foreground color.
protected GetDockerForeground ( int i ) : ViewDrawContent
i int Index.
Результат ViewDrawContent

IndexDocker() защищенный Метод

Gets the docker at the specified index.
protected IndexDocker ( int i ) : ViewBase
i int Index.
Результат ViewBase