←Select platform

BorderBackPen Property

Summary

Spy glass border back pen.

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

The spy glass border back pen. Default value is null.

Remarks

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

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