←Select platform

SelectedBrush Property

Summary

The brush used to highlight the currently selected text.

Syntax
C#
VB
C++
public static Brush SelectedBrush { get; set; } 
Public Shared Property SelectedBrush() As System.Drawing.Brush 
   Get 
   Set 
public: 
   static property System::Drawing::Brush^ SelectedBrush 
   { 
      System::Drawing::Brush^ get() 
      void set(System::Drawing::Brush^ value) 
   } 

Property Value

The brush used to highlight the currently selected text. The default is a solid brush using black with an alpha value of 77. Can be null.

Remarks

If SelectedBrush is set to null, then the document viewer will not render the selected text even if the value of RenderSelection is true.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly