FlowDocumentScrollViewer.IsInactiveSelectionHighlightEnabled 属性

定义

获取或设置指示 FlowDocumentScrollViewer 是否在控件没有焦点时显示所选文本的值。

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

属性值

Boolean

如果 FlowDocumentScrollViewerFlowDocumentScrollViewer 没有焦点时显示选择的文本,则为 true;否则为 false

已注册的默认值为 false。 有关什么可以影响值的详细信息,请参阅 Dependency Property Value Precedence(依赖项属性值优先级)

注解

依赖项属性信息

标识符字段 IsInactiveSelectionHighlightEnabledProperty
元数据属性设置为 true

适用于