Intersoft ClientUI Documentation
HighlightSelectedSearchBrush Property (FlowDocumentViewerBase)



Gets or sets the selected search highlight background brush.
Syntax
<CategoryAttribute("Brushes")>
Public Property HighlightSelectedSearchBrush As Brush
Dim instance As FlowDocumentViewerBase
Dim value As Brush
 
instance.HighlightSelectedSearchBrush = value
 
value = instance.HighlightSelectedSearchBrush
[CategoryAttribute("Brushes")]
public Brush HighlightSelectedSearchBrush {get; set;}
[CategoryAttribute("Brushes")]
public:
property Brush^ HighlightSelectedSearchBrush {
   Brush^ get();
   void set (    Brush^ value);
}
Remarks

FlowDocument viewer supports text highlighting for FlowDocument elements. The highlighting is applied on both text selection and search results found on the document. You can customize the selection brushes through the provided properties.

The properties and the default values are listed in the table below.

Property Value
HighlightSelectionBrush #64006CC0
HighlightSearchBrush #4CFAFF00
HighlightSelectedSearchBrush #4C0074FF

The following example shows how to customize the selection brushes in the viewer.

XAML
Copy Code
<Intersoft:UXFlowDocumentViewer HighlightSelectionBrush="#64006CC0" HighlightSearchBrush="#4CFAFF00" 
                            HighlightSelectedSearchBrush="#4C0074FF"/>
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FlowDocumentViewerBase Class
FlowDocumentViewerBase Members

Send Feedback