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

Extends the ViewDrawCanvas by applying a docking style for each child.
상속: ViewDrawCanvas
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
Add ( ViewBase item, ViewDockStyle dock ) : void

Append a view to the collection.

EvalTransparentPaint ( ViewContext context ) : bool

Evaluate the need for drawing transparent areas.

GetDock ( ViewBase child ) : ViewDockStyle

Gets the dock setting for the provided child instance.

GetNonChildSize ( ViewLayoutContext context ) : Size

Gets the size required for all except the contents.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

SetDock ( ViewBase child, ViewDockStyle dock ) : void

Sets the dock setting for the provided child instance.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawDocker ( ) : System

Initialize a new instance of the ViewDrawDocker class.

ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder ) : System

Initialize a new instance of the ViewDrawDocker class.

ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric ) : System

Initialize a new instance of the ViewDrawDocker class.

ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric, PaletteMetricBool metricOverlay ) : System

Initialize a new instance of the ViewDrawDocker class.

ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric, PaletteMetricBool metricOverlay, PaletteMetricPadding metricPadding, VisualOrientation orientation ) : System

Initialize a new instance of the ViewDrawDocker class.

보호된 메소드들

메소드 설명
CalculateDock ( ViewDockStyle ds, Control control ) : ViewDockStyle

Find the actual docking to apply for the specified RightToLeft setting.

OrientateDock ( ViewDockStyle style ) : ViewDockStyle

Update the incoming dock style to reflect our orientation.

비공개 메소드들

메소드 설명
AdjustPaddingForDockers ( Padding padding, Rectangle fillerRect, int borderWidth ) : Padding
UpdateChildBorders ( ViewBase child, ViewLayoutContext context, PaletteDrawBorders &leftEdges, PaletteDrawBorders &rightEdges, PaletteDrawBorders &topEdges, PaletteDrawBorders &bottomEdges, PaletteDrawBorders &fillEdges ) : void

메소드 상세

Add() 공개 메소드

Append a view to the collection.
public Add ( ViewBase item, ViewDockStyle dock ) : void
item ViewBase ViewBase reference.
dock ViewDockStyle DockStyle setting.
리턴 void

CalculateDock() 보호된 메소드

Find the actual docking to apply for the specified RightToLeft setting.
protected CalculateDock ( ViewDockStyle ds, Control control ) : ViewDockStyle
ds ViewDockStyle Docking style.
control System.Windows.Forms.Control Control for which the setting is needed.
리턴 ViewDockStyle

EvalTransparentPaint() 공개 메소드

Evaluate the need for drawing transparent areas.
public EvalTransparentPaint ( ViewContext context ) : bool
context ViewContext Evaluation context.
리턴 bool

GetDock() 공개 메소드

Gets the dock setting for the provided child instance.
public GetDock ( ViewBase child ) : ViewDockStyle
child ViewBase Child view element.
리턴 ViewDockStyle

GetNonChildSize() 공개 메소드

Gets the size required for all except the contents.
public GetNonChildSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
리턴 System.Drawing.Size

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

OrientateDock() 보호된 메소드

Update the incoming dock style to reflect our orientation.
protected OrientateDock ( ViewDockStyle style ) : ViewDockStyle
style ViewDockStyle Incoming dock style.
리턴 ViewDockStyle

SetDock() 공개 메소드

Sets the dock setting for the provided child instance.
public SetDock ( ViewBase child, ViewDockStyle dock ) : void
child ViewBase Child view element.
dock ViewDockStyle DockStyle setting.
리턴 void

ToString() 공개 메소드

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

ViewDrawDocker() 공개 메소드

Initialize a new instance of the ViewDrawDocker class.
public ViewDrawDocker ( ) : System
리턴 System

ViewDrawDocker() 공개 메소드

Initialize a new instance of the ViewDrawDocker class.
public ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder ) : System
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
리턴 System

ViewDrawDocker() 공개 메소드

Initialize a new instance of the ViewDrawDocker class.
public ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric ) : System
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
paletteMetric IPaletteMetric Palette source for metrics.
리턴 System

ViewDrawDocker() 공개 메소드

Initialize a new instance of the ViewDrawDocker class.
public ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric, PaletteMetricBool metricOverlay ) : System
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
paletteMetric IPaletteMetric Palette source for metrics.
metricOverlay PaletteMetricBool Metric to use for border overlay.
리턴 System

ViewDrawDocker() 공개 메소드

Initialize a new instance of the ViewDrawDocker class.
public ViewDrawDocker ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric, PaletteMetricBool metricOverlay, PaletteMetricPadding metricPadding, VisualOrientation orientation ) : System
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
paletteMetric IPaletteMetric Palette source for metric values.
metricOverlay PaletteMetricBool Metric to use for border overlay.
metricPadding PaletteMetricPadding Matric used to get padding values.
orientation VisualOrientation Visual orientation of the content.
리턴 System