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

Datei anzeigen Open project: zhuangyy/Motion Class Usage Examples

Private Properties

Property Type Description
AddExpandingNode void
AddNewNode void
AddNode void
ArrangeControls void
BeginPerformanceCount void
BindModelEvents void
ChangeColumnWidth void
ChangeInput void
ClearNodesSize void
ClearSelectionInternal void
CreateDragBitmap void
CreateLinePen void
CreateMarkPen void
CreateMouseArgs TreeNodeAdvMouseEventArgs
CreateNodes void
CreatePens void
CreateRowMap void
DisplayNodesTooltip void
Dist double
DragAutoScroll void
DragTimerTick void
DrawColumnHeaders void
DrawDropMark void
DrawIcons void
DrawLines void
DrawRow void
DrawScrollBarsBox void
DrawVerticalGridLines void
EndPerformanceCount void
ExpandingIconChanged void
FindNode TreeNodeAdv
FindNodeByTag TreeNodeAdv
GetColumnAt TreeColumn
GetColumnBounds Rectangle
GetColumnDividerAt TreeColumn
GetColumnX int
GetNodeBounds Rectangle
GetNodeBounds Rectangle
GetNodeControlInfoAt NodeControlInfo
GetNodeControls IEnumerable
GetNodeControls IEnumerable
GetNodeToolTip string
GetNodeWidth int
InitializeComponent void
IsMyNode bool
OnCollapsed void
OnCollapsing void
OnColumnClicked void
OnColumnReordered void
OnColumnWidthChanged void
OnExpanded void
OnExpanding void
OnGridLineStyleChanged void
OnItemDrag void
OnNodeMouseClick void
OnNodeMouseDoubleClick void
OnSelectionChanged void
ReadChilds void
ReadChilds void
RemoveExpandingNode void
SafeUpdateScrollBars void
SetCursor void
SetDropPosition void
SetEditorBounds void
SetIsExpanded void
SetIsExpanded void
SetIsExpanded void
SetIsExpandedRecursive void
SetTooltip void
ShouldSerializeFont bool
SmartFullUpdate void
StartDragTimer void
StopDragTimer void
UnbindModelEvents void
UnsafeFullUpdate void
UpdateColumns void
UpdateHScrollBar void
UpdateHeaders void
UpdateScrollBars void
UpdateSelection void
UpdateToolTip void
UpdateVScrollBar void
UpdateView void
_hScrollBar_ValueChanged void
_model_NodesChanged void
_model_NodesInserted void
_model_NodesRemoved void
_model_StructureChanged void
_vScrollBar_ValueChanged void

Public Methods

Method Description
AbortBackgroundExpandingThreads ( ) : void
BeginUpdate ( ) : void
ClearSelection ( ) : void
CollapseAll ( ) : void
DisplayEditor ( Control control, EditableControl owner ) : void
DoDragDropSelectedNodes ( DragDropEffects allowedEffects ) : void
DrawNode ( TreeNodeAdv node, DrawContext context ) : void
EndUpdate ( ) : void
EnsureVisible ( TreeNodeAdv node ) : void

Expand all parent nodes, andd scroll to the specified node

ExpandAll ( ) : void
FindNode ( TreePath path ) : TreeNodeAdv
FindNode ( TreePath path, bool readChilds ) : TreeNodeAdv
FindNodeByTag ( object tag ) : TreeNodeAdv
FullUpdate ( ) : void
GetNodeAt ( Point point ) : TreeNodeAdv
GetNodeControlInfoAt ( Point point ) : NodeControlInfo
GetPath ( TreeNodeAdv node ) : TreePath
HideEditor ( ) : void
ScrollTo ( TreeNodeAdv node ) : void

Make node visible, scroll if needed. All parent nodes of the specified node must be expanded

TreeViewAdv ( ) : System
UpdateEditorBounds ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
IsInputChar ( char charCode ) : bool
IsInputKey ( Keys keyData ) : bool
OnDragDrop ( DragEventArgs drgevent ) : void
OnDragEnter ( DragEventArgs drgevent ) : void
OnDragLeave ( EventArgs e ) : void
OnDragOver ( DragEventArgs drgevent ) : void
OnFontChanged ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseDoubleClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
AddExpandingNode ( TreeNodeAdv node ) : void
AddNewNode ( TreeNodeAdv parent, object tag, int index ) : void
AddNode ( TreeNodeAdv parent, int index, TreeNodeAdv node ) : void
ArrangeControls ( ) : void
BeginPerformanceCount ( ) : void
BindModelEvents ( ) : void
ChangeColumnWidth ( TreeColumn column ) : void
ChangeInput ( ) : void
ClearNodesSize ( TreeModelEventArgs e, TreeNodeAdv parent ) : void
ClearSelectionInternal ( ) : void
CreateDragBitmap ( IDataObject data ) : void
CreateLinePen ( ) : void
CreateMarkPen ( ) : void
CreateMouseArgs ( MouseEventArgs e ) : TreeNodeAdvMouseEventArgs
CreateNodes ( ) : void
CreatePens ( ) : void
CreateRowMap ( ) : void
DisplayNodesTooltip ( MouseEventArgs e ) : void
Dist ( Point p1, Point p2 ) : double
DragAutoScroll ( ) : void
DragTimerTick ( object state ) : void
DrawColumnHeaders ( Graphics gr ) : void
DrawDropMark ( Graphics gr ) : void
DrawIcons ( ) : void
DrawLines ( Graphics gr, TreeNodeAdv node, Rectangle rowRect ) : void
DrawRow ( PaintEventArgs e, DrawContext &context, int row, Rectangle rowRect ) : void
DrawScrollBarsBox ( Graphics gr ) : void
DrawVerticalGridLines ( Graphics gr, int y ) : void
EndPerformanceCount ( PaintEventArgs e ) : void
ExpandingIconChanged ( object sender, EventArgs e ) : void
FindNode ( TreeNodeAdv root, TreePath path, int level, bool readChilds ) : TreeNodeAdv
FindNodeByTag ( TreeNodeAdv root, object tag ) : TreeNodeAdv
GetColumnAt ( Point p ) : TreeColumn
GetColumnBounds ( int column ) : Rectangle
GetColumnDividerAt ( Point p ) : TreeColumn
GetColumnX ( TreeColumn column ) : int
GetNodeBounds ( IEnumerable nodeControls ) : Rectangle
GetNodeBounds ( TreeNodeAdv node ) : Rectangle
GetNodeControlInfoAt ( TreeNodeAdv node, Point point ) : NodeControlInfo
GetNodeControls ( TreeNodeAdv node ) : IEnumerable
GetNodeControls ( TreeNodeAdv node, Rectangle rowRect ) : IEnumerable
GetNodeToolTip ( TreeNodeAdvMouseEventArgs args ) : string
GetNodeWidth ( TreeNodeAdv node ) : int
InitializeComponent ( ) : void
IsMyNode ( TreeNodeAdv node ) : bool
OnCollapsed ( TreeNodeAdv node ) : void
OnCollapsing ( TreeNodeAdv node ) : void
OnColumnClicked ( TreeColumn column ) : void
OnColumnReordered ( TreeColumn column ) : void
OnColumnWidthChanged ( TreeColumn column ) : void
OnExpanded ( TreeNodeAdv node ) : void
OnExpanding ( TreeNodeAdv node ) : void
OnGridLineStyleChanged ( ) : void
OnItemDrag ( MouseButtons buttons, object item ) : void
OnNodeMouseClick ( TreeNodeAdvMouseEventArgs args ) : void
OnNodeMouseDoubleClick ( TreeNodeAdvMouseEventArgs args ) : void
OnSelectionChanged ( ) : void
ReadChilds ( TreeNodeAdv parentNode ) : void
ReadChilds ( TreeNodeAdv parentNode, bool performFullUpdate ) : void
RemoveExpandingNode ( TreeNodeAdv node ) : void
SafeUpdateScrollBars ( ) : void
SetCursor ( MouseEventArgs e ) : void
SetDropPosition ( Point pt ) : void
SetEditorBounds ( EditorContext context ) : void
SetIsExpanded ( ExpandArgs eargs ) : void
SetIsExpanded ( TreeNodeAdv node, bool value ) : void
SetIsExpanded ( TreeNodeAdv node, bool value, bool ignoreChildren ) : void
SetIsExpandedRecursive ( TreeNodeAdv root, bool value ) : void
SetTooltip ( string text ) : void
ShouldSerializeFont ( ) : bool
SmartFullUpdate ( ) : void
StartDragTimer ( ) : void
StopDragTimer ( ) : void
UnbindModelEvents ( ) : void
UnsafeFullUpdate ( ) : void
UpdateColumns ( ) : void
UpdateHScrollBar ( ) : void
UpdateHeaders ( ) : void
UpdateScrollBars ( ) : void
UpdateSelection ( ) : void
UpdateToolTip ( MouseEventArgs e ) : void
UpdateVScrollBar ( ) : void
UpdateView ( ) : void
_hScrollBar_ValueChanged ( object sender, EventArgs e ) : void
_model_NodesChanged ( object sender, TreeModelEventArgs e ) : void
_model_NodesInserted ( object sender, TreeModelEventArgs e ) : void
_model_NodesRemoved ( object sender, TreeModelEventArgs e ) : void
_model_StructureChanged ( object sender, TreePathEventArgs e ) : void
_vScrollBar_ValueChanged ( object sender, EventArgs e ) : void

Method Details

AbortBackgroundExpandingThreads() public method

public AbortBackgroundExpandingThreads ( ) : void
return void

BeginUpdate() public method

public BeginUpdate ( ) : void
return void

ClearSelection() public method

public ClearSelection ( ) : void
return void

CollapseAll() public method

public CollapseAll ( ) : void
return void

DisplayEditor() public method

public DisplayEditor ( Control control, EditableControl owner ) : void
control System.Windows.Forms.Control
owner EditableControl
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DoDragDropSelectedNodes() public method

public DoDragDropSelectedNodes ( DragDropEffects allowedEffects ) : void
allowedEffects DragDropEffects
return void

DrawNode() public method

public DrawNode ( TreeNodeAdv node, DrawContext context ) : void
node TreeNodeAdv
context DrawContext
return void

EndUpdate() public method

public EndUpdate ( ) : void
return void

EnsureVisible() public method

Expand all parent nodes, andd scroll to the specified node
public EnsureVisible ( TreeNodeAdv node ) : void
node TreeNodeAdv
return void

ExpandAll() public method

public ExpandAll ( ) : void
return void

FindNode() public method

public FindNode ( TreePath path ) : TreeNodeAdv
path TreePath
return TreeNodeAdv

FindNode() public method

public FindNode ( TreePath path, bool readChilds ) : TreeNodeAdv
path TreePath
readChilds bool
return TreeNodeAdv

FindNodeByTag() public method

public FindNodeByTag ( object tag ) : TreeNodeAdv
tag object
return TreeNodeAdv

FullUpdate() public method

public FullUpdate ( ) : void
return void

GetNodeAt() public method

public GetNodeAt ( Point point ) : TreeNodeAdv
point Point
return TreeNodeAdv

GetNodeControlInfoAt() public method

public GetNodeControlInfoAt ( Point point ) : NodeControlInfo
point Point
return NodeControlInfo

GetPath() public method

public GetPath ( TreeNodeAdv node ) : TreePath
node TreeNodeAdv
return TreePath

HideEditor() public method

public HideEditor ( ) : void
return void

IsInputChar() protected method

protected IsInputChar ( char charCode ) : bool
charCode char
return bool

IsInputKey() protected method

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

OnDragDrop() protected method

protected OnDragDrop ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
return void

OnDragEnter() protected method

protected OnDragEnter ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
return void

OnDragLeave() protected method

protected OnDragLeave ( EventArgs e ) : void
e EventArgs
return void

OnDragOver() protected method

protected OnDragOver ( DragEventArgs drgevent ) : void
drgevent System.Windows.Forms.DragEventArgs
return void

OnFontChanged() protected method

protected OnFontChanged ( EventArgs e ) : void
e EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLeave() protected method

protected OnLeave ( EventArgs e ) : void
e EventArgs
return void

OnMouseClick() protected method

protected OnMouseClick ( MouseEventArgs e ) : void
e System.Windows.Forms.MouseEventArgs
return void

OnMouseDoubleClick() protected method

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e System.Windows.Forms.MouseEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e System.Windows.Forms.MouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e System.Windows.Forms.MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e System.Windows.Forms.MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e System.Windows.Forms.MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e System.Windows.Forms.PaintEventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e EventArgs
return void

ScrollTo() public method

Make node visible, scroll if needed. All parent nodes of the specified node must be expanded
public ScrollTo ( TreeNodeAdv node ) : void
node TreeNodeAdv
return void

TreeViewAdv() public method

public TreeViewAdv ( ) : System
return System

UpdateEditorBounds() public method

public UpdateEditorBounds ( ) : void
return void