C# Класс ComponentFactory.Krypton.Navigator.ButtonSpecNavManagerLayoutHeaderBar

Manage a collection of button specs for use with a ViewLayoutDocker style bar.
Наследование: ComponentFactory.Krypton.Toolkit.ButtonSpecManagerLayout
Показать файл Открыть проект Примеры использования класса

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

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

Initialize a new instance of the ButtonSpecNavManagerLayoutHeaderBar class.

CreateButtonSpecRemap ( PaletteRedirect redirector, ButtonSpec buttonSpec ) : PaletteRedirect

Create a palette redirector for remapping button spec colors.

UpdateRemapping ( IPaletteContent paletteContent, PaletteState paletteState ) : void

Update cached remapping values and update active views.

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

Метод Описание
ButtonSpecCreated ( ButtonSpec buttonSpec, ButtonSpecView buttonView, int viewDockerIndex ) : void

Perform final steps now that the button spec has been created.

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

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

Perform final steps now that the button spec has been created.
protected ButtonSpecCreated ( ButtonSpec buttonSpec, ButtonSpecView buttonView, int viewDockerIndex ) : void
buttonSpec ComponentFactory.Krypton.Toolkit.ButtonSpec ButtonSpec instance.
buttonView ComponentFactory.Krypton.Toolkit.ButtonSpecView Associated ButtonSpecView instance.
viewDockerIndex int Index of view docker button is placed onto.
Результат void

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

Initialize a new instance of the ButtonSpecNavManagerLayoutHeaderBar class.
public ButtonSpecNavManagerLayoutHeaderBar ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewLayoutDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricIntOutside, PaletteMetricInt viewMetricIntInside, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint, IPaletteContent paletteContent, PaletteState paletteState ) : System
control System.Windows.Forms.Control Control that owns the button manager.
redirector ComponentFactory.Krypton.Toolkit.PaletteRedirect Palette redirector.
variableSpecs ButtonSpecCollectionBase Variable set of button specifications.
fixedSpecs ButtonSpecCollectionBase Fixed set of button specifications.
viewDockers ComponentFactory.Krypton.Toolkit.ViewLayoutDocker 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.
paletteContent IPaletteContent Palette source for color remapping.
paletteState PaletteState Palette state for color remapping.
Результат System

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

Create a palette redirector for remapping button spec colors.
public CreateButtonSpecRemap ( PaletteRedirect redirector, ButtonSpec buttonSpec ) : PaletteRedirect
redirector ComponentFactory.Krypton.Toolkit.PaletteRedirect Base palette class.
buttonSpec ComponentFactory.Krypton.Toolkit.ButtonSpec ButtonSpec instance.
Результат ComponentFactory.Krypton.Toolkit.PaletteRedirect

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

Update cached remapping values and update active views.
public UpdateRemapping ( IPaletteContent paletteContent, PaletteState paletteState ) : void
paletteContent IPaletteContent Palette used to recover remapping colors.
paletteState PaletteState Palette state to use for remapping.
Результат void