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

View element that has a preferred size and then draws a solid color, used for debugging.
상속: ViewLeaf
파일 보기 프로젝트 열기: ComponentFactory/Krypton

공개 메소드들

메소드 설명
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.

ViewDrawDebug ( Size preferredSize, Color color ) : System

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

ViewDrawDebug() 공개 메소드

Initialize a new instance of the ViewDrawDebug class.
public ViewDrawDebug ( Size preferredSize, Color color ) : System
preferredSize System.Drawing.Size Preferred size.
color Color Solid color to draw with.
리턴 System