System.Activities.Presentation.Model 命名空间
提供类,与表示模型相关。 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> |
一个 ModelPropertyCollection 派生自其中的抽象基类。An abstract base class that ModelPropertyCollection derives from. |
| ModelProperty |
ModelProperty 表示 ModelItem 上的属性。A ModelProperty represents a property on a ModelItem. 模型属性与项的实例关联,从而允许它们具有简单的 Value 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 |
一个用于更新模型项引用和属性的帮助器类。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. |