Udostępnij za pośrednictwem


Microsoft.Windows.Design.Model Namespace

Provides an editing model for representing user interface (UI) objects.

The ModelItem class represents a single item in the editing model. An item can be anything from a window or a control down to a color or an integer. Model items are created by a ModelFactory. Change the parent of one item to another by using the ModelParent class.

Classes

  Class Description
Public class DefaultInitializer Used to configure a new object in the designer.
Public class DesignModeValueProvider Captures property changes that are made by the user in the designer and provides new values at design time.
Public class InstanceFactory A feature provider that enables you to provide the implementation of the CreateInstance method for your object.
Public class ModelEditingScope Represents a group of changes to the editing store.
Public class ModelEvent Represents an event on an item.
Public class ModelEventCollection Represents an enumeration of events.
Public class ModelFactory Used to create instances of model items in the designer.
Public class ModelItem Represents a single item in the editing model.
Public class ModelItemCollection Implements support for a collection of ModelItem objects.
Public class ModelItemDictionary Implements key/value dictionary support for ModelItem objects.
Public class ModelMemberCollection<TItemType, TFindType> Represents a collection for model members.
Public class ModelParent A class that can be used to help set the parent of an item.
Public class ModelProperty Represents a property on an item.
Public class ModelPropertyCollection Represents a collection of properties.
Public class PropertyIdentifier An object that represents a property.
Public class PropertyIdentifierCollection A collection of property identifiers.

Enumerations

  Enumeration Description
Public enumeration CreateOptions Specifies how to create a new item.