Control.AccessibleDefaultActionDescription 屬性

定義

取得或設定協助用戶端應用程式所使用的控制項的預設動作描述。Gets or sets the default action description of the control for use by accessibility client applications.

public:
 property System::String ^ AccessibleDefaultActionDescription { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string AccessibleDefaultActionDescription { get; set; }
member this.AccessibleDefaultActionDescription : string with get, set
Public Property AccessibleDefaultActionDescription As String

屬性值

控制項的預設動作描述,供協助用戶端應用程式使用。The default action description of the control for use by accessibility client applications.

屬性

備註

物件的 AccessibleDefaultActionDescription 屬性會從使用者的觀點來描述物件的主要操作方法。An object's AccessibleDefaultActionDescription property describes the object's primary method of manipulation from the user's viewpoint. 這個屬性應該是動詞或簡短的動詞片語。This property should be a verb or a short verb phrase.

注意

並非所有的物件都有預設動作,而且某些物件可能會有與其 AccessibleObject.Value 屬性相關的預設動作,如下列範例所示:Not all objects have default actions, and some objects might have a default action that is related to its AccessibleObject.Value property, such as in the following examples:

  • 選取的核取方塊具有預設動作「取消核取」和「已檢查」的值。A selected check box has a default action of "Uncheck" and a value of "Checked."

  • [已清除] 核取方塊的預設動作為 [檢查],而值為 [未核取]。A cleared check box has a default action of "Check" and a value of "Unchecked."

  • 標示為「列印」的按鈕具有預設動作「按下」,沒有值。A button labeled "Print" has a default action of "Press," with no value.

  • 顯示「印表機」的標籤或文字方塊控制項沒有預設動作,但具有「印表機」的值。A label or a text box control that shows "Printer" has no default action, but would have a value of "Printer."

如需可存取物件屬性的詳細資訊,請參閱描述性屬性的內容For more information about properties of accessible objects, see Content of Descriptive Properties.

適用於

另請參閱