Control.ShowFocusCues 属性

定义

获取一个值,该值指示控件是否应显示聚焦框。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.

适用于

另请参阅