DiagramLite Programmer's Guide
TreeViewItem Members
Constructors Fields Properties Methods Events
 


Represents a constituent item of the hierarchy displayed inside a TreeViewNode.

The following tables list the members exposed by the TreeViewItem type.

 Public Constructors

  Name Description

TreeViewItem

Overloaded.  

 Public Fields

  Name Description

ChildrenProperty

Identifies the Children dependency property.

ExpandedIconVisibilityProperty

Identifies the ExpandedIconVisibility dependency property.

ExpandedProperty

Identifies the Expanded dependency property.

ExpanderButtonWidthProperty

Identifies the ExpanderButtonWidth dependency property.

ExpanderVisibilityProperty

Identifies the ExpanderVisibility dependency property.

HasItemsProperty

Identifies the HasItems dependency property.

ImageProperty

Identifies the Image dependency property.

ImageStretchProperty

Identifies the ImageStretch dependency property.

ItemsVisibilityProperty

Identifies the ItemsVisibility dependency property.

LabelBrushProperty

Identifies the LabelBrush dependency property.

LabelHeightProperty

Identifies the LabelHeight dependency property.

LabelProperty

Identifies the Label dependency property.

TreeDepthProperty

Identifies the TreeDepth dependency property.

 Public Properties

  Name Description

Children

Gets a list of this item's children in the hierarchy.

Expanded

Gets or sets whether this item is expanded to show its children.

ExpandedIconVisibility

Gets a value indicating whether the expand / collapse button should be rendered in expanded state.

ExpanderButtonWidth

Gets or sets the width of the expand / collapse button.

ExpanderVisibility

Gets a value that indicates whether the control template should render the expand button for a node.

HasItems

Gets a value indicating whether this item has child items.

Image

Gets or sets the image that is displayed in this treeview item.

ImageStretch

Gets or sets an ImageStretch value specifying how the image should be stretched.

IncomingLinks

Gets a collection of all links that point to this item.

ItemsVisibility

Gets a value indicating whether the control template should render the child items of a TreeViewItem.

Label

Gets or sets the label of this item.

LabelBrush

Gets or sets the label color of this item.

LabelHeight

Gets a value specifying the height of this TreeViewItem.

OutgoingLinks

Gets a collection of all links that go out from this item.

 Public Methods

  Name Description

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

 Protected Methods

  Name Description

CreateState

Creates an item state corresponding to the type of this tree item.

RestoreState

Restores the state of this tree item.

SaveState

Saves the state of this tree item.

 Public Events

  Name Description

PropertyChanged

Raised when a property value changes.

 See Also

TreeViewItem Class
MindFusion.Diagramming Namespace