←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 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly