←Select platform

SelectedBrush Property

Summary

The brush used to highlight the currently selected text.

Syntax
C#
C++/CLI
public static Brush SelectedBrush { 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 22.0.2023.1.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.