Control.ShowFocusCues 屬性

定義

取得指示控制項是否應顯示焦點矩形 (Focus Rectangle) 的值。Gets a value indicating whether the control should display focus rectangles.

protected:
 virtual property bool ShowFocusCues { bool get(); };
[System.ComponentModel.Browsable(false)]
protected virtual bool ShowFocusCues { get; }
member this.ShowFocusCues : bool
Protected Overridable ReadOnly Property ShowFocusCues As Boolean

屬性值

如果控制項應顯示焦點矩形,則為 true,否則為 falsetrue if the control should display focus rectangles; otherwise, false.

屬性

備註

如需這項功能的詳細資訊,請參閱WM_CHANGEUISTATEWM_QUERYUISTATEWM_UPDATEUISTATE主題。For more information about this feature, see the WM_CHANGEUISTATE, WM_QUERYUISTATE, and the WM_UPDATEUISTATE topics.

給繼承者的注意事項

覆寫衍生類別中的 ShowFocusCues 屬性時,請使用基類的 ShowFocusCues 屬性來擴充基底實作為。When overriding the ShowFocusCues property in a derived class, use the base class's ShowFocusCues property to extend the base implementation. 否則,您必須提供所有的實作為。Otherwise, you must provide all the implementation.

適用於

另請參閱