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

상속: ViewDrawCanvas, IContextMenuItemColumn
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

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

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuImageCanvas ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, int columnIndex, bool zeroHeight ) : System

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

RenderBefore() 공개 메소드

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

ToString() 공개 메소드

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

ViewDrawMenuImageCanvas() 공개 메소드

Initialize a new instance of the ViewDrawMenuImageCanvas class.
public ViewDrawMenuImageCanvas ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, int columnIndex, bool zeroHeight ) : System
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
columnIndex int Menu item column index.
zeroHeight bool Should the height be forced to zero.
리턴 System