C# Class TreeViewItem, GrapplingHookFighters

Show file Open project: PurdueSIGGD/GrapplingHookFighters Class Usage Examples

Public Properties

Property Type Description
Checked EventHandler,
Click EventHandler,
CustomIconBuilder EventHandler,
DataContext object
Dragged EventHandler,
Header string
IsCheckBox bool
IsChecked bool
IsDraggable bool
IsExpanded bool
IsHidden bool
IsHover bool
IsSelected bool
Items List
Parent TreeViewItem,
ParentControl TreeViewControl,
Selected EventHandler,
Unchecked EventHandler,
Unselected EventHandler,

Public Methods

Method Description
AddItem ( string header ) : TreeViewItem,
AddItem ( string header, bool isExpanded ) : TreeViewItem,
AddItem ( string header, bool isExpanded, bool isChecked ) : TreeViewItem,
AddItem ( string header, bool isDraggable, bool isExpanded, object context ) : TreeViewItem,
AddItem ( string header, object context ) : TreeViewItem,
AddItem ( string header, object context, bool in_isExpended ) : TreeViewItem,
DisplayItem ( int levels, SiblingOrder siblingOrder ) : void
FindItemByName ( string name ) : TreeViewItem,
HandleGUIEvents ( ) : void
HasChildItems ( ) : bool
TreeViewItem ( TreeViewControl, parentControl, TreeViewItem, parent ) : System

Private Methods

Method Description
CalculateHoverTime ( Rect rect, Vector3 mousePos ) : float

Method Details

AddItem() public method

public AddItem ( string header ) : TreeViewItem,
header string
return TreeViewItem,

AddItem() public method

public AddItem ( string header, bool isExpanded ) : TreeViewItem,
header string
isExpanded bool
return TreeViewItem,

AddItem() public method

public AddItem ( string header, bool isExpanded, bool isChecked ) : TreeViewItem,
header string
isExpanded bool
isChecked bool
return TreeViewItem,

AddItem() public method

public AddItem ( string header, bool isDraggable, bool isExpanded, object context ) : TreeViewItem,
header string
isDraggable bool
isExpanded bool
context object
return TreeViewItem,

AddItem() public method

public AddItem ( string header, object context ) : TreeViewItem,
header string
context object
return TreeViewItem,

AddItem() public method

public AddItem ( string header, object context, bool in_isExpended ) : TreeViewItem,
header string
context object
in_isExpended bool
return TreeViewItem,

DisplayItem() public method

public DisplayItem ( int levels, SiblingOrder siblingOrder ) : void
levels int
siblingOrder SiblingOrder
return void

FindItemByName() public method

public FindItemByName ( string name ) : TreeViewItem,
name string
return TreeViewItem,

HandleGUIEvents() public method

public HandleGUIEvents ( ) : void
return void

HasChildItems() public method

public HasChildItems ( ) : bool
return bool

TreeViewItem() public method

public TreeViewItem ( TreeViewControl, parentControl, TreeViewItem, parent ) : System
parentControl TreeViewControl,
parent TreeViewItem,
return System

Property Details

Checked public property

public EventHandler, Checked
return EventHandler,

Click public property

public EventHandler, Click
return EventHandler,

CustomIconBuilder public property

public EventHandler, CustomIconBuilder
return EventHandler,

DataContext public property

public object DataContext
return object

Dragged public property

public EventHandler, Dragged
return EventHandler,

Header public property

public string Header
return string

IsCheckBox public property

public bool IsCheckBox
return bool

IsChecked public property

public bool IsChecked
return bool

IsDraggable public property

public bool IsDraggable
return bool

IsExpanded public property

public bool IsExpanded
return bool

IsHidden public property

public bool IsHidden
return bool

IsHover public property

public bool IsHover
return bool

IsSelected public property

public bool IsSelected
return bool

Items public property

public List Items
return List

Parent public property

public TreeViewItem, Parent
return TreeViewItem,

ParentControl public property

public TreeViewControl, ParentControl
return TreeViewControl,

Selected public property

public EventHandler, Selected
return EventHandler,

Unchecked public property

public EventHandler, Unchecked
return EventHandler,

Unselected public property

public EventHandler, Unselected
return EventHandler,