←Select platform

BorderBackPen Property

Summary

Back pen to use for outlining the shape.

Syntax
C#
C++/CLI
public virtual Pen BorderBackPen { 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 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.