ComboBox.IsSelectionBoxHighlighted 屬性

定義

取得 SelectionBoxItem 是否反白顯示的值。Gets whether the SelectionBoxItem is highlighted.

public:
 property bool IsSelectionBoxHighlighted { bool get(); };
public bool IsSelectionBoxHighlighted { get; }
member this.IsSelectionBoxHighlighted : bool
Public ReadOnly Property IsSelectionBoxHighlighted As Boolean

屬性值

Boolean

如果 SelectionBoxItem 已反白顯示則為 true,否則為 falsetrue if the SelectionBoxItem is highlighted; otherwise, false.

備註

這個屬性是相依性屬性。This property is a dependency property. 但是,的相依性屬性識別碼欄位 IsSelectionBoxHighlighted 不是公用的。However, the dependency property identifier field for IsSelectionBoxHighlighted is not public. 因此,您無法針對需要相依性屬性識別碼的屬性系統作業使用支援相依性屬性,例如對的呼叫 GetValueTherefore, you cannot use the backing dependency property for property system operations that require the dependency property identifier, such as calls to GetValue. 不過,您仍然可以使用 IsSelectionBoxHighlighted 做為屬性觸發程式。However, you can still use IsSelectionBoxHighlighted as a property trigger.

適用於