MindFusion.Wpf Pack Programmer's Guide
IItemViewModel Members
Properties Methods
 


The base interface for activity and resource view models.

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

 Public Properties

  Name Description

Bounds

Gets or sets the bounding rectangle of the visual element representing the item in the associated View.

Children

Gets the subitems of this item in the ViewModel.

Index

Gets or sets the 0-based global index of this item within the entire hierarchy.

IsBoundsValid

Gets or sets a value indicating whether the Bounds property is valid or needs to be recalculated.

IsExpanded

Gets or sets a value indicating whether the item is expanded, that is, if its children are visible.

Model

Gets a reference to the associated Model.

 Public Methods

  Name Description

UpdateIndex

Recursively updates the index of this item and all its children.

 See Also

IItemViewModel Interface
MindFusion.DataViews.Wpf Namespace