ModelItem Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a single item in the editing model. An item can be anything from a complex data structure down to a color or integer.
The ModelItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelItem | Creates a new ModelItem. |
Top
Methods
Name | Description | |
---|---|---|
BeginEdit | Overloaded. Opens an editing scope for the designer. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCurrentValue | Returns the current value of the underlying model object the ModelItem is wrapping. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
FindParentModelItem | Determines the parent model item, based on the specified item and parent type. (Defined by ModelItemExtensions.) | |
GetEditingContext | Retrieves the editing context of the specified model item. (Defined by ModelItemExtensions.) | |
GetModelPath | Retrieves the path of the specified model item. (Defined by ModelItemExtensions.) | |
GetParentEnumerator() | Overloaded. Retrieves an enumerator that contains the parents of the specified model item. (Defined by ModelItemExtensions.) | |
GetParentEnumerator(Func<ModelItem, Boolean>) | Overloaded. Retrieves an enumerator that contains the parents of the specified model item. (Defined by ModelItemExtensions.) | |
IsItemInFlowchart | Verifies whether a specified item is in the specified flowchart. (Defined by ActivityDesignerHelper.) | |
IsItemInSequence | Verifies whether a specified item is in the specified sequence. (Defined by ActivityDesignerHelper.) | |
TryGetPropertyValue(ModelItem%, array<String[]) | Overloaded. Attempts to retrieve the value of the specified item at the specified path. (Defined by ModelItemExtensions.) | |
TryGetPropertyValue(ModelItemCollection%, array<String[]) | Overloaded. Attempts to retrieve the value of the specified item at the specified path. (Defined by ModelItemExtensions.) | |
TryGetPropertyValue(ModelItemDictionary%, array<String[]) | Overloaded. Attempts to retrieve the value of the specified item at the specified path. (Defined by ModelItemExtensions.) | |
TrySetPropertyValue | Attempts to set the specified property value using the specified item, wrapped value, and path. (Defined by ModelItemExtensions.) |
Top
Properties
Name | Description | |
---|---|---|
Attributes | Returns the attributes declared on this item. | |
Content | Returns the ContentPropertyAttribute of the item, or nulla null reference (Nothing in Visual Basic). | |
Events | Returns the public events on this item. | |
ItemType | Returns the type of object the item represents. | |
Name | Represents the name or ID of the item. | |
Parent | Returns the item that is the parent of this item. | |
Parents | Returns all parents of this item. | |
Properties | Returns the public properties on this item. | |
Root | Returns the item that is the root of this tree. | |
Source | Returns the property that provided this value. | |
Sources | Returns all the properties that hold this value. | |
View | Returns the Visual or Visual3D representing the UI for this item. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Implements INotifyPropertyChanged. Use this event to listen for changes to the model. This is also used by the data binding features of WPF. |
Top