TextBoxBase.IsInactiveSelectionHighlightEnabled TextBoxBase.IsInactiveSelectionHighlightEnabled TextBoxBase.IsInactiveSelectionHighlightEnabled TextBoxBase.IsInactiveSelectionHighlightEnabled Property

定义

获取或设置指示当文本框没有焦点时,文本框是否显示所选文本的值。Gets or sets a value that indicates whether the text box displays selected text when the text box does not have focus.

public:
 property bool IsInactiveSelectionHighlightEnabled { bool get(); void set(bool value); };
public bool IsInactiveSelectionHighlightEnabled { get; set; }
member this.IsInactiveSelectionHighlightEnabled : bool with get, set
Public Property IsInactiveSelectionHighlightEnabled As Boolean

属性值

如果文本框没有焦点时显示选择的文本,则为 true;否则为 falsetrue if the text box displays selected text when the text box does not have focus; otherwise, false.

已注册的默认值为 falseThe registered default is false. 有关什么可以影响值的详细信息,请参阅 Dependency Property Value Precedence(依赖项属性值优先级)For more information about what can influence the value, see Dependency Property Value Precedence.

注解

依赖项属性信息Dependency Property Information

标识符字段Identifier field IsInactiveSelectionHighlightEnabledProperty
元数据属性设置为trueMetadata properties set to true NoneNone

适用于