C# 클래스 ComponentFactory.Krypton.Navigator.ButtonSpecNavManagerLayoutBar

Manage a collection of button specs for use with a ViewLayoutDocker style bar.
상속: ComponentFactory.Krypton.Toolkit.ButtonSpecManagerLayout
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
ButtonSpecNavManagerLayoutBar ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewLayoutDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricIntOutside, PaletteMetricInt viewMetricIntInside, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ButtonSpecNavManagerLayoutBar class.

ButtonSpecNavManagerLayoutBar ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ViewLayoutDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricIntOutside, PaletteMetricInt viewMetricIntInside, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ButtonSpecNavManagerLayoutBar class.

CreateButtonSpecRemap ( PaletteRedirect redirector, ButtonSpec buttonSpec ) : PaletteRedirect

Create a palette redirector for remapping button spec colors.

SetRemapTarget ( ButtonStyle style ) : void

Update the remap target to match the button style.

SetRemapTarget ( TabStyle style ) : void

Update the remap target to match the tab style.

보호된 메소드들

메소드 설명
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

ButtonSpecNavManagerLayoutBar() 공개 메소드

Initialize a new instance of the ButtonSpecNavManagerLayoutBar class.
public ButtonSpecNavManagerLayoutBar ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewLayoutDocker 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 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.
리턴 System

ButtonSpecNavManagerLayoutBar() 공개 메소드

Initialize a new instance of the ButtonSpecNavManagerLayoutBar class.
public ButtonSpecNavManagerLayoutBar ( Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ViewLayoutDocker 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 ComponentFactory.Krypton.Toolkit.PaletteRedirect Palette redirector.
variableSpecs ButtonSpecCollectionBase Variable 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.
리턴 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

SetRemapTarget() 공개 메소드

Update the remap target to match the button style.
public SetRemapTarget ( ButtonStyle style ) : void
style ButtonStyle Button style to match.
리턴 void

SetRemapTarget() 공개 메소드

Update the remap target to match the tab style.
public SetRemapTarget ( TabStyle style ) : void
style TabStyle Tab style to match.
리턴 void