Skip to main content
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the Pen used to stroke this GeometryDrawing.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public Pen Pen { get; set; }
public:
property Pen^ Pen {
	Pen^ get();
	void set(Pen^ value);
}
member Pen : Pen with get, set
Public Property Pen As Pen

Property Value

Type:

The pen used to stroke this GeometryDrawing. The default value is null.

Identifier field

PenProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top