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

View element that can draw a content
상속: ViewLeaf
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
GetPalette ( ) : IPaletteContent

Gets the source palette used for drawing.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

ImageRectangle ( ViewContext context ) : Rectangle

Get a value indicating if the content image is being displayed.

IsImageDisplayed ( ViewContext context ) : bool

Get a value indicating if the content image is being displayed.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

LongTextRect ( ViewContext context ) : Rectangle

Gets the short text drawing rectangle.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

SetPalette ( IPaletteContent paletteContent ) : void

Update the source palette for drawing.

ShortTextRect ( ViewContext context ) : Rectangle

Gets the short text drawing rectangle.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawContent ( IPaletteContent paletteContent, IContentValues values, VisualOrientation orientation ) : System

Initialize a new instance of the ViewDrawContent class.

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
ShowFocusCues ( Control c ) : bool

메소드 상세

Dispose() 보호된 메소드

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

GetPalette() 공개 메소드

Gets the source palette used for drawing.
public GetPalette ( ) : IPaletteContent
리턴 IPaletteContent

GetPreferredSize() 공개 메소드

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

ImageRectangle() 공개 메소드

Get a value indicating if the content image is being displayed.
public ImageRectangle ( ViewContext context ) : Rectangle
context ViewContext ViewLayoutContext context.
리턴 System.Drawing.Rectangle

IsImageDisplayed() 공개 메소드

Get a value indicating if the content image is being displayed.
public IsImageDisplayed ( ViewContext context ) : bool
context ViewContext ViewLayoutContext context.
리턴 bool

Layout() 공개 메소드

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

LongTextRect() 공개 메소드

Gets the short text drawing rectangle.
public LongTextRect ( ViewContext context ) : Rectangle
context ViewContext
리턴 System.Drawing.Rectangle

RenderBefore() 공개 메소드

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

SetPalette() 공개 메소드

Update the source palette for drawing.
public SetPalette ( IPaletteContent paletteContent ) : void
paletteContent IPaletteContent Palette source for the content.
리턴 void

ShortTextRect() 공개 메소드

Gets the short text drawing rectangle.
public ShortTextRect ( ViewContext context ) : Rectangle
context ViewContext
리턴 System.Drawing.Rectangle

ToString() 공개 메소드

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

ViewDrawContent() 공개 메소드

Initialize a new instance of the ViewDrawContent class.
public ViewDrawContent ( IPaletteContent paletteContent, IContentValues values, VisualOrientation orientation ) : System
paletteContent IPaletteContent Palette source for the content.
values IContentValues Reference to actual content values.
orientation VisualOrientation Visual orientation of the content.
리턴 System