CategoryEntry 类

定义

建立一个 Category 模型,该模型由一个本地化的名称和一个属性集合组成。Models a Category, which consists of a localized name and a collection of properties.

public ref class CategoryEntry abstract : System::Activities::Presentation::PropertyEditing::IPropertyFilterTarget, System::ComponentModel::INotifyPropertyChanged
public abstract class CategoryEntry : System.Activities.Presentation.PropertyEditing.IPropertyFilterTarget, System.ComponentModel.INotifyPropertyChanged
type CategoryEntry = class
    interface INotifyPropertyChanged
    interface IPropertyFilterTarget
Public MustInherit Class CategoryEntry
Implements INotifyPropertyChanged, IPropertyFilterTarget
继承
CategoryEntry
实现

构造函数

CategoryEntry(String)

创建 CategoryEntry 类的新实例。Creates a new instance of the CategoryEntry class.

属性

CategoryName

获取本地化的 Category 名称。Gets the name of the localized Category.

Item[String]

返回此 CategoryEntry 对象的具有给定属性名的属性实例。Returns a property instance of this CategoryEntry object given the property name.

MatchesFilter

获取或设置一个值,指示 CategoryEntry 是否与某个筛选器相匹配。Gets or sets a value that indicates whether the CategoryEntry matches a filter.

Properties

获取类别中所有属性的 IEnumerable 集合。Gets an IEnumerable collection of all of the properties in the category.

方法

ApplyFilter(PropertyFilter)

设置一个新的属性筛选器。Sets a new property filter.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MatchesPredicate(PropertyFilterPredicate)

指示 IPropertyFilterTarget 是否与某个谓词相匹配。Indicates whether an IPropertyFilterTarget matches a predicate.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnFilterApplied(PropertyFilter)

当应用属性筛选器时,引发 FilterApplied 事件。Raises the FilterApplied event when the property filter is applied.

OnPropertyChanged(String)

引发 PropertyChanged 事件。Raises the PropertyChanged event.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

事件

FilterApplied

声明 IPropertyFilterTarget 事件。Declares the IPropertyFilterTarget event.

PropertyChanged

声明 INotifyPropertyChanged 事件。Declares the INotifyPropertyChanged event.

适用于