PropertyEntry 類別

定義

表示所選項目之屬性的資料,而且允許使用型別專用資料編輯此屬性。Represents the data of a property for a selected item and enables editing of this property with type-specific data.

public ref class PropertyEntry abstract : System::Activities::Presentation::PropertyEditing::IPropertyFilterTarget, System::ComponentModel::INotifyPropertyChanged
public abstract class PropertyEntry : System.Activities.Presentation.PropertyEditing.IPropertyFilterTarget, System.ComponentModel.INotifyPropertyChanged
type PropertyEntry = class
    interface INotifyPropertyChanged
    interface IPropertyFilterTarget
Public MustInherit Class PropertyEntry
Implements INotifyPropertyChanged, IPropertyFilterTarget
繼承
PropertyEntry
實作

建構函式

PropertyEntry()

建立 PropertyEntry 類別的新執行個體。Creates a new instance of the PropertyEntry class.

PropertyEntry(PropertyValue)

建立 PropertyEntry 類別新執行個體,此執行個體可當做指定之 PropertyValue 的子屬性使用。Creates a new instance of the PropertyEntry class that serves as a subproperty of the specified PropertyValue.

屬性

CategoryName

取得此屬性所在之分類的名稱。Gets the name of the category in which this property resides.

Description

取得封裝之屬性的描述。Gets the description of the encapsulated property.

DisplayName

取得 PropertyEntry 的顯示名稱。Gets the display name for the PropertyEntry.

HasStandardValues

取得值,這個值會指出一組標準值是否適用於此 PropertyEntryGets a value that indicates whether a set of standard values is available for this PropertyEntry.

IsAdvanced

取得值,這個值會指出 PropertyEntry 是否為自訂的。Gets a value that indicates whether the PropertyEntry is custom-made.

IsReadOnly

取得值,這個值表示 PropertyEntry 是否為唯讀。Gets a value that indicates whether the PropertyEntry is read-only.

MatchesFilter

取得值,這個值會指出 IPropertyFilterTarget 是否符合篩選條件。Gets a value that indicates whether the IPropertyFilterTarget matches the filter. 設定值,指出 IPropertyFilterTarget 符合篩選條件,而且會針對屬性變更引發事件處理常式方法。Sets the value to indicate that the IPropertyFilterTarget matches the filter and fires the event handler method for the property change.

ParentValue

取得類別中,衍生自主機基礎結構的父代 PropertyValueGets the parent PropertyValue in classes derived from a host infrastructure.

PropertyName

取得屬性的名稱。Gets the name of the property.

PropertyType

取得屬性的型別。Gets the type of the property.

PropertyValue

取得此 PropertyValuePropertyEntryGets the PropertyValue for this PropertyEntry.

PropertyValueEditor

取得用於編輯此 PropertyValueEditor 之值的 PropertyEntryGets the PropertyValueEditor that is used for editing the value of this PropertyEntry.

StandardValues

取得此 PropertyEntry 支援的一組可能值。Gets a set of possible values supported by this PropertyEntry.

方法

ApplyFilter(PropertyFilter)

目標屬性值是否符合指定之 PropertyFilter 的存放區。Stores whether the target property value matches a specified PropertyFilter.

CreatePropertyValueInstance()

允許主機基礎結構建立新的主機專用 PropertyValue 執行個體。Enables the host infrastructure to create a new host-specific PropertyValue instance.

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 方法的實作,這個方法會判斷是目標顯示名稱還是型別名稱與包含篩選條件名稱的指定之字串相符。Implementation of a IPropertyFilterTarget method that determines whether the target display or type name matches the specified string containing the name of a filter.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnFilterApplied(PropertyFilter)

引發 FilterApplied 事件。Raises the FilterApplied event.

OnPropertyChanged(PropertyChangedEventArgs)

引發 INotifyPropertyChanged PropertyChanged 事件。Raises the INotifyPropertyChanged PropertyChanged event.

OnPropertyChanged(String)

INotifyPropertyChanged 知道 PropertyContainerEditMode 已變更時,引發 PropertyValue 事件。Raises the INotifyPropertyChanged event when the PropertyContainerEditMode hears that the PropertyValue has changed.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

事件

FilterApplied

IPropertyFilterTarget 事件的宣告,透過呼叫 PropertyFilter 方法變更 ApplyFilter(PropertyFilter) 時,會發生這個事件。Declaration of the IPropertyFilterTarget event, which occurs when a PropertyFilter is changed through a call to the ApplyFilter(PropertyFilter) method.

PropertyChanged

INotifyPropertyChanged 事件的宣告,屬性值變更時會發生這個事件。Declaration of the INotifyPropertyChanged event, which occurs when a property value changes.

適用於