←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. May 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly