C# 클래스 ComponentFactory.Krypton.Toolkit.ButtonSpecManagerLayout

Manage a collection of button specs for placing within a collection of ViewLayoutDocker instances.
상속: ButtonSpecManagerBase
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
ButtonSpecManagerLayout ( 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 ButtonSpecManagerLayout class.

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

Initialize a new instance of the ButtonSpecManagerLayout 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

ButtonSpecManagerLayout() 공개 메소드

Initialize a new instance of the ButtonSpecManagerLayout class.
public ButtonSpecManagerLayout ( 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 PaletteRedirect Palette redirector.
variableSpecs ButtonSpecCollectionBase Variable set of button specifications.
fixedSpecs ButtonSpecCollectionBase Fixed set of button specifications.
viewDockers 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

ButtonSpecManagerLayout() 공개 메소드

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