←Select platform

OutsideBrush Property

Summary

Brush used to fill the area outside the pan rectangle.

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

Property Value

The brush used to fill the area outside the pan rectangle. Default value is null.

Remarks

Set the value of this property to any System.Drawing.Brush object to fill the area outside the pan rectangle. A nice user interface effect is to use a brush with an alpha value (for example, System.Drawing.SolidBrush using a Black System.Drawing.Color with alpha value equals to 128.

Example

For an example, refer to ImageViewerPanControl.

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.Controls Assembly