TreeViewNode Class

Definition

Line 977 of System.Windows/TreeView.cm

Inheritance

Constructors & Destructor

public explicit nothrow TreeViewNode(const String<char>& text_)

Member Functions

public inline nothrow bool Active() const
public void AddChild(TreeViewNode* child)
public inline nothrow Container& Children() const
public void Collapse()
public void Collapse(bool all)
public void CollapseAll()
public inline nothrow void* Data() const
public void Deselect()
internal void DispatchMouseDoubleClick(MouseEventArgs& args, bool& handled)
internal void DispatchMouseDown(MouseEventArgs& args, bool& handled)
internal void DispatchMouseHover(MouseEventArgs& args, bool& handled)
internal void DispatchMouseMove(MouseEventArgs& args, bool& handled)
internal void DispatchMouseUp(MouseEventArgs& args, bool& handled)
private void DoAnimation()
public void Draw(Graphics& graphics, TreeView* treeView)
public nothrow void DrawImage(TreeView* view, Graphics& graphics, Point& loc)
public void EnsureVisible()
public void Expand()
public void Expand(bool all)
public void ExpandAll()
public nothrow const Size& GetSize() const
public inline nothrow State GetState() const
public nothrow TreeView* GetTreeView() const
public void GetVisibleNodes(List<TreeViewNode*>& visibleNodes, TreeView* treeView, int selectLevel)
public inline nothrow int ImageIndex() const
public inline nothrow int Index() const
public nothrow int Level() const
public nothrow const Point& Location() const
internal nothrow void Measure(Graphics& graphics, const Point& loc, TreeView* treeView, int level, int& idx, Rect& parentRect)
public nothrow void MeasureSize(Graphics& graphics, TreeView* treeView)
internal inline nothrow bool MouseEntered() const
internal void MouseLeaveInternal()
private void OnMouseDoubleClick(MouseEventArgs& args)
private void OnMouseDown(MouseEventArgs& args)
private void OnMouseEnter()
private void OnMouseHover()
private void OnMouseLeave()
private void OnMouseUp(MouseEventArgs& args)
public nothrow TreeViewNode* Parent() const
public UniquePtr<TreeViewNode> RemoveChild(TreeViewNode* child)
public void RemoveChildren()
internal inline nothrow void ResetMouseEntered()
internal inline nothrow void ResetSelected()
public void Select()
public inline nothrow bool Selected() const
public nothrow void SetActive(bool active)
public inline nothrow void SetData(void* data_)
public nothrow void SetExpandedImageIndex(int expandedImageIndex_)
public nothrow void SetImageIndex(int imageIndex_)
public nothrow void SetIndex(int index_)
internal inline nothrow void SetMouseEntered()
private inline nothrow void SetSelected()
public nothrow void SetState(State state_)
public nothrow void SetText(const String<char>& text_)
public nothrow void SetTreeView(TreeView* treeView_)
public inline nothrow const String<char>& Text() const
public void Toggle()

Enumerated Types

private enum Flags
public enum State

Member Variables

private Rect childRect
private Container children
private void* data
private int expandedImageIndex
private Flags flags
private int imageIndex
private int index
private Point location
private Size size
private State state
private String<char> text
private TreeView* treeView

Constructor& Destructor Details

TreeViewNode Constructor

public explicit nothrow TreeViewNode(const String<char>& text_)

Definition
Line 987 of System.Windows/TreeView.cm


Member Function Details

Active Member Function

public inline nothrow bool Active()

Definition
Line 1671 of System.Windows/TreeView.cm


AddChild Member Function

public void AddChild(TreeViewNode* child)

Definition
Line 1024 of System.Windows/TreeView.cm


Children Member Function

public inline nothrow Container& Children()

Definition
Line 1523 of System.Windows/TreeView.cm


Collapse Member Function

public void Collapse()

Definition
Line 1460 of System.Windows/TreeView.cm


Collapse Member Function

public void Collapse(bool all)

Definition
Line 1482 of System.Windows/TreeView.cm


CollapseAll Member Function

public void CollapseAll()

Definition
Line 1471 of System.Windows/TreeView.cm


Data Member Function

public inline nothrow void* Data()

Definition
Line 1547 of System.Windows/TreeView.cm


Deselect Member Function

public void Deselect()

Definition
Line 1408 of System.Windows/TreeView.cm


DispatchMouseDoubleClick Member Function

internal void DispatchMouseDoubleClick(MouseEventArgs& args, bool& handled)

Definition
Line 1190 of System.Windows/TreeView.cm


DispatchMouseDown Member Function

internal void DispatchMouseDown(MouseEventArgs& args, bool& handled)

Definition
Line 1132 of System.Windows/TreeView.cm


DispatchMouseHover Member Function

internal void DispatchMouseHover(MouseEventArgs& args, bool& handled)

Definition
Line 1270 of System.Windows/TreeView.cm


DispatchMouseMove Member Function

internal void DispatchMouseMove(MouseEventArgs& args, bool& handled)

Definition
Line 1219 of System.Windows/TreeView.cm


DispatchMouseUp Member Function

internal void DispatchMouseUp(MouseEventArgs& args, bool& handled)

Definition
Line 1161 of System.Windows/TreeView.cm


DoAnimation Member Function

private void DoAnimation()

Definition
Line 1500 of System.Windows/TreeView.cm


Draw Member Function

public void Draw(Graphics& graphics, TreeView* treeView)

Definition
Line 1586 of System.Windows/TreeView.cm


DrawImage Member Function

public nothrow void DrawImage(TreeView* view, Graphics& graphics, Point& loc)

Definition
Line 1734 of System.Windows/TreeView.cm


EnsureVisible Member Function

public void EnsureVisible()

Definition
Line 1555 of System.Windows/TreeView.cm


Expand Member Function

public void Expand()

Definition
Line 1420 of System.Windows/TreeView.cm


Expand Member Function

public void Expand(bool all)

Definition
Line 1442 of System.Windows/TreeView.cm


ExpandAll Member Function

public void ExpandAll()

Definition
Line 1431 of System.Windows/TreeView.cm


GetSize Member Function

public nothrow const Size& GetSize()

Definition
Line 1066 of System.Windows/TreeView.cm


GetState Member Function

public inline nothrow State GetState()

Definition
Line 1527 of System.Windows/TreeView.cm


GetTreeView Member Function

public nothrow TreeView* GetTreeView()

Definition
Line 1011 of System.Windows/TreeView.cm


GetVisibleNodes Member Function

public void GetVisibleNodes(List<TreeViewNode*>& visibleNodes, TreeView* treeView, int selectLevel)

Definition
Line 1563 of System.Windows/TreeView.cm


ImageIndex Member Function

public inline nothrow int ImageIndex()

Definition
Line 1702 of System.Windows/TreeView.cm


Index Member Function

public inline nothrow int Index()

Definition
Line 1694 of System.Windows/TreeView.cm


Level Member Function

public nothrow int Level()

Definition
Line 1053 of System.Windows/TreeView.cm


Location Member Function

public nothrow const Point& Location()

Definition
Line 1062 of System.Windows/TreeView.cm


Measure Member Function

internal nothrow void Measure(Graphics& graphics, const Point& loc, TreeView* treeView, int level, int& idx, Rect& parentRect)

Definition
Line 1097 of System.Windows/TreeView.cm


MeasureSize Member Function

public nothrow void MeasureSize(Graphics& graphics, TreeView* treeView)

Definition
Line 1070 of System.Windows/TreeView.cm


MouseEntered Member Function

internal inline nothrow bool MouseEntered()

Definition
Line 1647 of System.Windows/TreeView.cm


MouseLeaveInternal Member Function

internal void MouseLeaveInternal()

Definition
Line 1266 of System.Windows/TreeView.cm


OnMouseDoubleClick Member Function

private void OnMouseDoubleClick(MouseEventArgs& args)

Definition
Line 1355 of System.Windows/TreeView.cm


OnMouseDown Member Function

private void OnMouseDown(MouseEventArgs& args)

Definition
Line 1299 of System.Windows/TreeView.cm


OnMouseEnter Member Function

private void OnMouseEnter()

Definition
Line 1363 of System.Windows/TreeView.cm


OnMouseHover Member Function

private void OnMouseHover()

Definition
Line 1379 of System.Windows/TreeView.cm


OnMouseLeave Member Function

private void OnMouseLeave()

Definition
Line 1371 of System.Windows/TreeView.cm


OnMouseUp Member Function

private void OnMouseUp(MouseEventArgs& args)

Definition
Line 1330 of System.Windows/TreeView.cm


Parent Member Function

public nothrow TreeViewNode* Parent()

Definition
Line 995 of System.Windows/TreeView.cm


RemoveChild Member Function

public UniquePtr<TreeViewNode> RemoveChild(TreeViewNode* child)

Definition
Line 1033 of System.Windows/TreeView.cm


RemoveChildren Member Function

public void RemoveChildren()

Definition
Line 1043 of System.Windows/TreeView.cm


ResetMouseEntered Member Function

internal inline nothrow void ResetMouseEntered()

Definition
Line 1655 of System.Windows/TreeView.cm


ResetSelected Member Function

internal inline nothrow void ResetSelected()

Definition
Line 1667 of System.Windows/TreeView.cm


Select Member Function

public void Select()

Definition
Line 1395 of System.Windows/TreeView.cm


Selected Member Function

public inline nothrow bool Selected()

Definition
Line 1659 of System.Windows/TreeView.cm


SetActive Member Function

public nothrow void SetActive(bool active)

Definition
Line 1675 of System.Windows/TreeView.cm


SetData Member Function

public inline nothrow void SetData(void* data_)

Definition
Line 1551 of System.Windows/TreeView.cm


SetExpandedImageIndex Member Function

public nothrow void SetExpandedImageIndex(int expandedImageIndex_)

Definition
Line 1720 of System.Windows/TreeView.cm


SetImageIndex Member Function

public nothrow void SetImageIndex(int imageIndex_)

Definition
Line 1706 of System.Windows/TreeView.cm


SetIndex Member Function

public nothrow void SetIndex(int index_)

Definition
Line 1698 of System.Windows/TreeView.cm


SetMouseEntered Member Function

internal inline nothrow void SetMouseEntered()

Definition
Line 1651 of System.Windows/TreeView.cm


SetSelected Member Function

private inline nothrow void SetSelected()

Definition
Line 1663 of System.Windows/TreeView.cm


SetState Member Function

public nothrow void SetState(State state_)

Definition
Line 1531 of System.Windows/TreeView.cm


SetText Member Function

public nothrow void SetText(const String<char>& text_)

Definition
Line 1514 of System.Windows/TreeView.cm


SetTreeView Member Function

public nothrow void SetTreeView(TreeView* treeView_)

Definition
Line 991 of System.Windows/TreeView.cm


Text Member Function

public inline nothrow const String<char>& Text()

Definition
Line 1510 of System.Windows/TreeView.cm


Toggle Member Function

public void Toggle()

Definition
Line 1387 of System.Windows/TreeView.cm