CategoryEntry 類別

定義

建立分類的模型,這個分類是由當地語系化的名稱與屬性集合所組成。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

取得當地語系化之分類的名稱。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.

適用於