MindFusion.Wpf Pack 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. Initializes a new instance of the TreeViewItem class.

 Public Fields

  Name Description

FontFamilyProperty

Identifies the FontFamily dependency property. (Inherited from TextPresenter.)

FontSizeProperty

Identifies the FontSize dependency property. (Inherited from TextPresenter.)

FontStretchProperty

Identifies the FontStretch dependency property. (Inherited from TextPresenter.)

FontStyleProperty

Identifies the FontStyle dependency property. (Inherited from TextPresenter.)

FontWeightProperty

Identifies the FontWeight dependency property. (Inherited from TextPresenter.)

TextAlignmentProperty

Identifies the TextAlignment dependency property. (Inherited from TextPresenter.)

TextBrushProperty

Identifies the TextBrush dependency property. (Inherited from TextPresenter.)

TextDecorationsProperty

Identifies the TextDecorations dependency property. (Inherited from TextPresenter.)

TextPaddingProperty

Identifies the TextPadding dependency property. (Inherited from TextPresenter.)

TextProperty

Identifies the Text dependency property. (Inherited from TextPresenter.)

TextTrimmingProperty

Identifies the TextTrimming dependency property. (Inherited from TextPresenter.)

TextVerticalAlignmentProperty

Identifies the TextVerticalAlignment dependency property. (Inherited from TextPresenter.)

TextWrappingProperty

Identifies the TextWrapping dependency property. (Inherited from TextPresenter.)

 Public Properties

  Name Description

Children

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

ConstrainedHeight

Gets whether text layout area has limited height. (Inherited from TextPresenter.)

Dirty

For internal use.

Expanded

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

FontFamily

Gets or sets the preferred font family for this TextPresenter. (Inherited from TextPresenter.)

FontSize

Gets or sets the font size for this TextPresenter. (Inherited from TextPresenter.)

FontStretch

Gets or sets the font-stretching characteristics for this TextPresenter. (Inherited from TextPresenter.)

FontStyle

Gets or sets the font style for this TextPresenter. (Inherited from TextPresenter.)

FontWeight

Gets or sets the font weight for this TextPresenter. (Inherited from TextPresenter.)

Height

Gets or sets the height of this item.

Image

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

IncomingLinks

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

Label

Gets or sets the label of this item.

LabelBrush

Gets or sets the label color of this item.

OutgoingLinks

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

Tag

Gets or sets custom data associated with this item.

Text

Gets or sets the text displayed inside this item. (Inherited from TextPresenter.)

TextAlignment

Gets or sets a value that indicates the horizontal alignment of text content. (Inherited from TextPresenter.)

TextBrush

Gets or sets the text displayed inside this item. (Inherited from TextPresenter.)

TextDecorations

Gets or sets the effects to apply to the text of this TextPresenter. (Inherited from TextPresenter.)

TextPadding

Gets or sets the thickness of padding space between the item boundaries and its text. (Inherited from TextPresenter.)

TextTrimming

Gets or sets the text trimming to employ when text overflows the item area. (Inherited from TextPresenter.)

TextVerticalAlignment

Gets or sets a value that indicates the vertical alignment of text content. (Inherited from TextPresenter.)

TextWrapping

Gets or sets how this TextPresenter should wrap text. (Inherited from TextPresenter.)

 Public Methods

  Name Description

CopyFrom

Copies all text attributes from the specified object. (Inherited from TextPresenter.)

 Protected Methods

  Name Description

LoadTextAttributes

Overloaded.   (Inherited from TextPresenter.)

OnTextAttributeChanged

TextPresenter.OnTextAttributeChanged override.

SaveTextAttributes

Overloaded.   (Inherited from TextPresenter.)

SetDiagramDirty

TextPresenter.SetDiagramDirty override.

 Public Events

  Name Description

PropertyChanged

Implements INotifyPropertyChanged.PropertyChanged.

 See Also

TreeViewItem Class
MindFusion.Diagramming.Wpf Namespace