←Select platform

BorderBackPen Property

Summary

Back pen used to outline the border of the pan rectangle.

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

Property Value

Back pen used to outline the border of the pan rectangle. Default value is null.

Remarks

Set the value of BorderPen and BorderBackPen to null to stop the control from outlining the pan rectangle.

The control will first use the value of BorderBackPen (if not null) to render the outline and then the value of BorderPen (if not null) to re-render the outline on top of it. Hence, setting both values to a pen with the same width and same dash options is not useful. However, setting the border back pen to a solid color pen and the border pen to a dashed or dotted pen will guarantee that the outline is visible on any surface.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly