BaseProperty 類別

定義

表示 Rule 屬性。Represents a Rule property.

public ref class BaseProperty abstract : System::ComponentModel::ISupportInitialize
[System.Windows.Markup.ContentProperty("Arguments")]
public abstract class BaseProperty : System.ComponentModel.ISupportInitialize
type BaseProperty = class
    interface ISupportInitialize
Public MustInherit Class BaseProperty
Implements ISupportInitialize
繼承
BaseProperty
衍生
屬性
實作

備註

這代表Rule屬性的架構資訊 (名稱、允許的值等等)。This represents the schema information (name, allowed values, and so on) of a Rule property. 因為這只是架構資訊, 所以沒有任何欄位 (例如 "Value") 來取得/設定此屬性的值。Because this is just schema information, there is no field such as "Value" to get/set the value of this property. 如果您手動具現化此類別BeginInit , 請在設定物件的第一個屬性和EndInit設定最後一個屬性之後呼叫。If you manually instantiate this class, call BeginInit before you set the first property of the object and EndInit after you set the last property.

建構函式

BaseProperty()

無參數建構函式。Parameterless constructor. 從永續性格式進行還原序列化的必要項。Required for deserialization from a persisted format.

屬性

Arguments

取得或設定這個屬性的引數清單。Gets or sets a list of arguments for this property.

Category

取得或設定這個屬性所屬之類別的名稱。Gets or sets the name of the category to which this property belongs.

ContainingRule

取得或設定包含這個 RuleBasePropertyGets or sets the Rule that contains this BaseProperty.

DataSource

取得或設定儲存這個屬性之目前值的資料來源。Gets or sets the data source where the current value of this property is stored.

Default

取得或設定這個屬性的預設值。Gets or sets the default value for this property.

Description

取得或設定這個 BaseProperty 的描述,供潛在 UI 用戶端使用。Gets or sets a description of this BaseProperty for use by a prospective UI client.

DisplayName

取得或設定潛在 UI 用戶端可以用來顯示這個 BaseProperty 的名稱。Gets or sets a name that can be used by a prospective UI client to display this BaseProperty.

F1Keyword

取得或設定關鍵字,這個關鍵字用來開啟這個屬性的說明頁。Gets or sets the keyword that is used to open the help page for this property.

HelpContext

取得或設定使用者按下 F1 鍵時所使用的說明主題。Gets or sets the Help context to use when the user presses F1.

HelpFile

取得或設定使用者按下 F1 鍵時所使用的說明檔。Gets or sets the Help file to use when the user presses F1.

HelpUrl

取得或設定這個屬性之 [說明] 頁面的 URL。Gets or sets the URL of the Help page for this property. 當使用者按下 F1 鍵時,會開啟這個頁面。The page is opened when the user presses F1.

IncludeInCommandLine

取得或設定命令列建構函式是否在命令列中併入這個屬性的提示。Gets or sets a hint to the command-line constructor whether to include this property in the command line.

IsRequired

取得或設定值,其表示此屬性是否需要設定值。Gets or sets a value that indicates whether this property is required to have a value set.

Metadata

取得或設定這個 BaseProperty 的其他屬性。Gets or sets additional attributes of this BaseProperty.

MultipleValuesAllowed

取得或設定值,其表示這個屬性是否允許同時提供/選取多個值。Gets or sets a value that indicates whether this property allows multiple values to be supplied/selected simultaneously.

Name

取得或設定這個 BaseProperty 的名稱。Gets or sets the name of this BaseProperty.

ReadOnly

取得或設定值,其表示此屬性是否為唯讀屬性。Gets or sets a value that indicates whether this property is read-only.

Separator

取得或設定用來區隔參數與其值的語彙基元。Gets or sets the token used to separate a switch from its value.

Subcategory

取得或設定這個屬性所屬的子類別。Gets or sets the subcategory this property belongs to.

Switch

取得或設定這個屬性在表示工具參數時的參數表示。Gets or sets the switch representation of this property when the property represents a tool parameter.

SwitchPrefix

取得或設定這個屬性在表示工具參數時之參數表示的前置字元。Gets or sets the prefix for the switch representation of this property when this property represents a tool parameter.

ValueEditors

取得或設定這個屬性的值編輯器清單。Gets or sets the list of value editors for this property.

Visible

取得或設定告知 UI 用戶端是否顯示這個屬性的提示。Gets or sets a hint to the UI client that tells it whether to display this property.

方法

BeginInit()

請參閱 BeginInit()See BeginInit().

EndInit()

請參閱 EndInit()See EndInit().

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)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於