Control.ShowFocusCues Control.ShowFocusCues Control.ShowFocusCues Control.ShowFocusCues Property

定義

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

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

屬性值

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

備註

如需這項功能的詳細資訊,請參閱WM_CHANGEUISTATEWM_QUERYUISTATE,而WM_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.

適用於

另請參閱