Thickness Property
Collapse the table of content
Expand the table of content

Pen.Thickness Property

 

Gets or sets the thickness of the stroke produced by this Pen.

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

public double Thickness { get; set; }

Property Value

Type: System.Double

The thickness of the stroke produced by this Pen. Default is 1.

Thickness is relative to the geometry of the shape associated with this pen. Negative values are treated as though they were positive.

Identifier field

ThicknessProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft