RichEditBox.SelectionHighlightColorWhenNotFocused Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the brush used to highlight the selected text when the RichEditBox does not have focus.
public:
property SolidColorBrush ^ SelectionHighlightColorWhenNotFocused { SolidColorBrush ^ get(); void set(SolidColorBrush ^ value); };
SolidColorBrush SelectionHighlightColorWhenNotFocused();
void SelectionHighlightColorWhenNotFocused(SolidColorBrush value);
public SolidColorBrush SelectionHighlightColorWhenNotFocused { get; set; }
var solidColorBrush = richEditBox.selectionHighlightColorWhenNotFocused;
richEditBox.selectionHighlightColorWhenNotFocused = solidColorBrush;
Public Property SelectionHighlightColorWhenNotFocused As SolidColorBrush
<RichEditBox SelectionHighlightColorWhenNotFocused="{StaticResource resourceName}"/>
- or -
<RichEditBox SelectionHighlightColorWhenNotFocused="colorString"/>
Property Value
The brush used to highlight the selected text when RichEditBox loses focus. The default is a null brush from a pure code perspective, but the default control template for RichEditBox applies a Transparent brush for this in a runtime instance of a RichEditBox control. To disable the SelectionHighlightColorWhenNotFocused, set the brush to Transparent once again.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for