C# 클래스 ZForge.Controls.TreeViewAdv.Tree.NodeControls.BaseTextControl

상속: EditableControl
파일 보기 프로젝트 열기: zhuangyy/Motion

Private Properties

프로퍼티 타입 설명
CreateBrushes void
GetFrush System.Drawing.Brush
SetFormatFlags void

공개 메소드들

메소드 설명
Draw ( TreeNodeAdv node, DrawContext context ) : void
GetLabel ( TreeNodeAdv node ) : string
MeasureSize ( TreeNodeAdv node, DrawContext context ) : Size
SetLabel ( TreeNodeAdv node, string value ) : void

보호된 메소드들

메소드 설명
BaseTextControl ( ) : System
Dispose ( bool disposing ) : void
FormatLabel ( object obj ) : string
GetDrawingFont ( TreeNodeAdv node, DrawContext context, string label ) : Font
GetLabelSize ( TreeNodeAdv node, DrawContext context ) : Size
GetLabelSize ( TreeNodeAdv node, DrawContext context, string label ) : Size
OnDrawText ( DrawEventArgs args ) : void
SetEditControlProperties ( Control control, TreeNodeAdv node ) : void
ShouldSerializeFont ( ) : bool

비공개 메소드들

메소드 설명
CreateBrushes ( TreeNodeAdv node, DrawContext context, string text, Brush &backgroundBrush, Color &textColor, Font &font, string &label ) : void
GetFrush ( Color color ) : Brush
SetFormatFlags ( ) : void

메소드 상세

BaseTextControl() 보호된 메소드

protected BaseTextControl ( ) : System
리턴 System

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Draw() 공개 메소드

public Draw ( TreeNodeAdv node, DrawContext context ) : void
node TreeNodeAdv
context DrawContext
리턴 void

FormatLabel() 보호된 메소드

protected FormatLabel ( object obj ) : string
obj object
리턴 string

GetDrawingFont() 보호된 메소드

protected GetDrawingFont ( TreeNodeAdv node, DrawContext context, string label ) : Font
node TreeNodeAdv
context DrawContext
label string
리턴 System.Drawing.Font

GetLabel() 공개 메소드

public GetLabel ( TreeNodeAdv node ) : string
node TreeNodeAdv
리턴 string

GetLabelSize() 보호된 메소드

protected GetLabelSize ( TreeNodeAdv node, DrawContext context ) : Size
node TreeNodeAdv
context DrawContext
리턴 System.Drawing.Size

GetLabelSize() 보호된 메소드

protected GetLabelSize ( TreeNodeAdv node, DrawContext context, string label ) : Size
node TreeNodeAdv
context DrawContext
label string
리턴 System.Drawing.Size

MeasureSize() 공개 메소드

public MeasureSize ( TreeNodeAdv node, DrawContext context ) : Size
node TreeNodeAdv
context DrawContext
리턴 System.Drawing.Size

OnDrawText() 보호된 메소드

protected OnDrawText ( DrawEventArgs args ) : void
args DrawEventArgs
리턴 void

SetEditControlProperties() 보호된 메소드

protected SetEditControlProperties ( Control control, TreeNodeAdv node ) : void
control System.Windows.Forms.Control
node TreeNodeAdv
리턴 void

SetLabel() 공개 메소드

public SetLabel ( TreeNodeAdv node, string value ) : void
node TreeNodeAdv
value string
리턴 void

ShouldSerializeFont() 보호된 메소드

protected ShouldSerializeFont ( ) : bool
리턴 bool