System.Activities.Presentation.Model Namespace

提供與簡報模型相關的類別。 Provides classes related to presentation model.

類別

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

編輯範圍,代表 ModelItem 樹狀結構的變更集合,可加以認可或當做工作的原子單元來復原。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

提供 EditingScopeCompleted 事件的資料。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

在設計工具中建立 ModelItem 物件的執行個體。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

衍生自 ModelItem,並且實作索引鍵/值組的字典支援。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.An abstract base class that ModelPropertyCollection derives from.

ModelProperty

ModelPropertyModelItem代表 上的屬性。A ModelProperty represents a property on a ModelItem. 模型屬性會與項目的執行個體相關聯,使其可以具有簡單的值 get/set 屬性,而非使用較繁瑣的 PropertyDescriptor GetValue/SetValue 機制。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

提供根模型項目和模型服務,並且可讓您同步處理模型樹狀結構與 XAML 文字。Provides the root model item and the model service, and enables you to sync the model tree with the XAML text.

MorphHelper

用於更新模型項目參考及屬性的 Helper 類別。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.

列舉

CreateOptions

ModelFactory 執行個體使用,以指定如何建立新項目。Used by a ModelFactory instance to specify how to create a new item.

委派

PropertyValueMorphHelper

代表委派,這個委派會用來參考處理 ModelItem 屬性值之型別轉換的方法。Represents a delegate that is used to reference the method that handles type conversions for ModelItem property values.