ModelItem Class

[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.

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public MustInherit Class ModelItem _
    Implements INotifyPropertyChanged
'Usage
Dim instance As ModelItem
public abstract class ModelItem : INotifyPropertyChanged
public ref class ModelItem abstract : INotifyPropertyChanged
public abstract class ModelItem implements INotifyPropertyChanged
[<AbstractClassAttribute>]
type ModelItem =  
    class
        interface INotifyPropertyChanged
    end

Remarks

You may access the item’s properties through its Properties collection and make changes to the values of the properties.

A ModelItem is a wrapper around the underlying data model of the designer. You can access the underlying model through the GetCurrentValue() method. NOTE: Any changes you make to an object returned from the GetCurrentValue() method will not be reflected by the serialization and undo systems of the designer.

Inheritance Hierarchy

System.Object
  System.Activities.Design.Model.ModelItem
    System.Activities.Design.Model.ModelItemCollection
    System.Activities.Design.Model.ModelItemDictionary

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ModelItem Members

System.Activities.Design.Model Namespace