Visual Basic (Declaration) | |
---|---|
Public Property StrokeDashCap As PenLineCap |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public PenLineCap StrokeDashCap {get; set;} |
C++/CLI | |
---|---|
public: property PenLineCap StrokeDashCap { PenLineCap get(); void set (PenLineCap value); } |
XAML Attributes Usage | |
---|---|
<object StrokeDashCap=System.Windows.Media.PenLineCap .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Attributes Usage | |
---|---|
<object StrokeDashCap=System.Windows.Media.PenLineCap .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
One of the enumeration values for PenLineCap. The default is Flat.For XAML example, refer to AnnPolygonObject.
For C#/VB examples, refer to AnnAutomationManager.
This setting applies to both ends of each dash.
If this AnnObjectBase does not support strokes (AnnObjectBase.SupportsStroke value is false), setting this property to any value will be ignoreed.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family