←Select platform

SelectedBrush Property (DocumentViewerText)

Summary

The brush used to highlight the currently selected text.

Syntax

C#
VB
C++
public static System.Drawing.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. Default value is solid brush using a black color with alpha value equals to 64.

Remarks

If the value of 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents.UI Assembly
Click or drag to resize