←Select platform

BorderBackPen Property

Summary

Back pen to use for outlining the shape.

Syntax

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

Property Value

Back pen to use for outlining the shape. Default value is null.

Remarks

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

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

Leadtools.Controls.WinForms Assembly