C# Класс ZForge.Controls.TreeViewAdv.Tree.NodeControls.BaseTextControl

Наследование: EditableControl
Показать файл Открыть проект

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