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

View element that draws nothing and just takes up the metric provided size.
상속: ViewLeaf
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

SetMetrics ( IPaletteMetric paletteMetric ) : void

Updates the metrics source and metric to use.

SetMetrics ( IPaletteMetric paletteMetric, PaletteMetricInt metricInt ) : void

Updates the metrics source and metric to use.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutMetricSpacer ( IPaletteMetric paletteMetric, PaletteMetricInt metricInt ) : System

Initialize a new instance of the ViewLayoutMetricSpacer class.

메소드 상세

GetPreferredSize() 공개 메소드

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
리턴 System.Drawing.Size

Layout() 공개 메소드

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
리턴 void

SetMetrics() 공개 메소드

Updates the metrics source and metric to use.
public SetMetrics ( IPaletteMetric paletteMetric ) : void
paletteMetric IPaletteMetric Source for aquiring metrics.
리턴 void

SetMetrics() 공개 메소드

Updates the metrics source and metric to use.
public SetMetrics ( IPaletteMetric paletteMetric, PaletteMetricInt metricInt ) : void
paletteMetric IPaletteMetric Source for aquiring metrics.
metricInt PaletteMetricInt Actual integer metric to use.
리턴 void

ToString() 공개 메소드

Obtains the String representation of this instance.
public ToString ( ) : string
리턴 string

ViewLayoutMetricSpacer() 공개 메소드

Initialize a new instance of the ViewLayoutMetricSpacer class.
public ViewLayoutMetricSpacer ( IPaletteMetric paletteMetric, PaletteMetricInt metricInt ) : System
paletteMetric IPaletteMetric Palette source for metric values.
metricInt PaletteMetricInt Metric used to get spacer size.
리턴 System