C# Class ZForge.Controls.TreeViewAdv.Tree.NodeControls.BaseTextControl

Inheritance: EditableControl
Afficher le fichier Open project: zhuangyy/Motion

Private Properties

Свойство Type Description
CreateBrushes void
GetFrush System.Drawing.Brush
SetFormatFlags void

Méthodes publiques

Méthode Description
Draw ( TreeNodeAdv node, DrawContext context ) : void
GetLabel ( TreeNodeAdv node ) : string
MeasureSize ( TreeNodeAdv node, DrawContext context ) : Size
SetLabel ( TreeNodeAdv node, string value ) : void

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
CreateBrushes ( TreeNodeAdv node, DrawContext context, string text, Brush &backgroundBrush, Color &textColor, Font &font, string &label ) : void
GetFrush ( Color color ) : Brush
SetFormatFlags ( ) : void

Method Details

BaseTextControl() protected méthode

protected BaseTextControl ( ) : System
Résultat System

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Draw() public méthode

public Draw ( TreeNodeAdv node, DrawContext context ) : void
node TreeNodeAdv
context DrawContext
Résultat void

FormatLabel() protected méthode

protected FormatLabel ( object obj ) : string
obj object
Résultat string

GetDrawingFont() protected méthode

protected GetDrawingFont ( TreeNodeAdv node, DrawContext context, string label ) : Font
node TreeNodeAdv
context DrawContext
label string
Résultat System.Drawing.Font

GetLabel() public méthode

public GetLabel ( TreeNodeAdv node ) : string
node TreeNodeAdv
Résultat string

GetLabelSize() protected méthode

protected GetLabelSize ( TreeNodeAdv node, DrawContext context ) : Size
node TreeNodeAdv
context DrawContext
Résultat System.Drawing.Size

GetLabelSize() protected méthode

protected GetLabelSize ( TreeNodeAdv node, DrawContext context, string label ) : Size
node TreeNodeAdv
context DrawContext
label string
Résultat System.Drawing.Size

MeasureSize() public méthode

public MeasureSize ( TreeNodeAdv node, DrawContext context ) : Size
node TreeNodeAdv
context DrawContext
Résultat System.Drawing.Size

OnDrawText() protected méthode

protected OnDrawText ( DrawEventArgs args ) : void
args DrawEventArgs
Résultat void

SetEditControlProperties() protected méthode

protected SetEditControlProperties ( Control control, TreeNodeAdv node ) : void
control System.Windows.Forms.Control
node TreeNodeAdv
Résultat void

SetLabel() public méthode

public SetLabel ( TreeNodeAdv node, string value ) : void
node TreeNodeAdv
value string
Résultat void

ShouldSerializeFont() protected méthode

protected ShouldSerializeFont ( ) : bool
Résultat bool