แก้ไข

แชร์ผ่าน


System.Activities.Presentation.Model Namespace

Provides classes related to presentation model.

Classes

AttachedPropertiesService

Attaches properties to the current instance.

AttachedProperty

Used in order to associate or attach additional information to the instance of an object.

AttachedProperty<T>

Contains a collection of attached properties.

AttachedPropertyInfo

Provides properties of an attached property.

AttachedPropertyInfo<T>

Provides properties of an attached property.

Change

Abstract class that, when implemented, describes a change to the model tree.

EditingScope

An editing scope represents a collection of changes to the ModelItem tree that can be committed or rolled back as one atomic unit of work.

EditingScopeEventArgs

Provides data for the EditingScopeCompleted event.

ModelEditingScope

Represents a group of changes to the editing store. Change groups are transactional. The changes made under an editing scope can be committed or aborted as a unit.

ModelFactory

Creates instances of ModelItem objects in the designer.

ModelItem

Represents a single item in the editing model. An item can be anything from a complex data structure down to a color or integer.

ModelItemCollection

Represents a collection of model items that can be individually accessed by index.

ModelItemDictionary

Derives from ModelItem and implements support for a dictionary of key/value pairs.

ModelItemExtensions

Implements extensions to the base model item.

ModelMemberCollection<TItemType,TFindType>

An abstract base class that ModelPropertyCollection derives from.

ModelProperty

A ModelProperty represents a property on a ModelItem. Model properties are associated with an instance of an item, which allows them to have simple Value get/set properties instead of using the more cumbersome GetValue/SetValue mechanism of PropertyDescriptor.

ModelPropertyCollection

Contains an enumeration of properties.

ModelTreeManager

Provides the root model item and the model service, and enables you to sync the model tree with the XAML text.

MorphHelper

A helper class used to update model item references and properties.

TextImage

Contains the searchable strings extracted from the model tree. All strings are well ordered. The start index points to the cursor in the content, depending on the current selection in the model item tree. The search implementor can start a search from the start index.

Enums

CreateOptions

Used by a ModelFactory instance to specify how to create a new item.

Delegates

PropertyValueMorphHelper

Represents a delegate that is used to reference the method that handles type conversions for ModelItem property values.