AmbientTheme.ForegroundPen Property

Definition

Gets the ambient foreground pen for the workflow design surface.

public:
 property System::Drawing::Pen ^ ForegroundPen { System::Drawing::Pen ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Pen ForegroundPen { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ForegroundPen : System.Drawing.Pen
Public ReadOnly Property ForegroundPen As Pen

Property Value

Pen

A Pen value that represents the ambient foreground pen.

Attributes

Remarks

If this property contains a null reference (Nothing in Visual Basic), by default it will return a Pen with its color set to the current DropIndicatorColor property value, its width set to 1, and its DashStyle property set to DashStyle.Dot.

Applies to