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

View element that applies padding to the drawing of a border and background.
상속: ViewComposite
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
EvalTransparentPaint ( ViewContext context ) : bool

Evaluate the need for drawing transparent areas.

GetOuterBorderPath ( RenderContext context ) : GraphicsPath

Gets a path that describes the outside of the border.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderAfter ( RenderContext context ) : void

Perform rendering after child elements are rendered.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

RenderBorder ( RenderContext context ) : void

Draw the canvas border.

SetPalettes ( IPaletteBack paletteBack, IPaletteBorder paletteBorder ) : void

Update the source palettes for drawing.

SetPalettes ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric ) : void

Update the source palettes for drawing.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawCanvas ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric, PaletteMetricPadding metricPadding, VisualOrientation orientation ) : System

Initialize a new instance of the ViewDrawCanvas class.

ViewDrawCanvas ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, VisualOrientation orientation ) : System

Initialize a new instance of the ViewDrawCanvas class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

EvalTransparentPaint() 공개 메소드

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

GetOuterBorderPath() 공개 메소드

Gets a path that describes the outside of the border.
public GetOuterBorderPath ( RenderContext context ) : GraphicsPath
context RenderContext Context used by the renderer.
리턴 System.Drawing.Drawing2D.GraphicsPath

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

RenderAfter() 공개 메소드

Perform rendering after child elements are rendered.
public RenderAfter ( RenderContext context ) : void
context RenderContext Rendering context.
리턴 void

RenderBefore() 공개 메소드

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context RenderContext Rendering context.
리턴 void

RenderBorder() 공개 메소드

Draw the canvas border.
public RenderBorder ( RenderContext context ) : void
context RenderContext
리턴 void

SetPalettes() 공개 메소드

Update the source palettes for drawing.
public SetPalettes ( IPaletteBack paletteBack, IPaletteBorder paletteBorder ) : void
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
리턴 void

SetPalettes() 공개 메소드

Update the source palettes for drawing.
public SetPalettes ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric ) : void
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
paletteMetric IPaletteMetric Palette source for the metric.
리턴 void

ToString() 공개 메소드

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

ViewDrawCanvas() 공개 메소드

Initialize a new instance of the ViewDrawCanvas class.
public ViewDrawCanvas ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteMetric paletteMetric, 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.
metricPadding PaletteMetricPadding Matric used to get padding values.
orientation VisualOrientation Visual orientation of the content.
리턴 System

ViewDrawCanvas() 공개 메소드

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