Share via


ModelItem Members

Include Protected Members
Include Inherited Members

Represents a single item in the editing model.

The ModelItem type exposes the following members.

Constructors

 

Name

Description

Protected method

ModelItem

Initializes a new instance of the ModelItem class.

Top

Methods

 

Name

Description

Public method

BeginEdit

Overloaded. When overridden in a derived class, this method is called when performing multiple operations on an object or group of objects.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetCurrentValue

When overridden in a derived class, returns the current value of the underlying model object the ModelItem is wrapping.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Attributes

When overridden in a derived class, gets the attributes declared on this item.

Public property

Content

When overridden in a derived class, gets a ModelProperty representing the item's ContentPropertyAttribute.

Public property

Events

When overridden in a derived class, gets the public events on this object.

Public property

ItemType

When overridden in a derived class, gets the type of object the item represents.

Public property

Name

When overridden in a derived class, gets or sets the name or ID of the item.

Public property

Parent

When overridden in a derived class, gets the item that is the parent of this item.

Public property

Properties

When overridden in a derived class, gets the public properties on this object.

Public property

Root

When overridden in a derived class, gets the item that is the root of this tree.

Public property

Source

When overridden in a derived class, gets the property that provided this value.

Public property

View

When overridden in a derived class, gets the visual or visual3D representing the UI for this item.

Top

Events

 

Name

Description

Public event

PropertyChanged

When overridden in a derived class, occurs when a property on the model changes.

Top

See Also

Reference

ModelItem Class

Microsoft.Windows.Design.Model Namespace