Partager via


PenSettings.DashStyle Property

Gets or sets the style used for dashed lines drawn with this Pen object. Only allows the change if the property is not immutable and sets the override flags appropriately.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Property DashStyle As DashStyle
public DashStyle DashStyle { get; set; }
public:
property DashStyle DashStyle {
    DashStyle get ();
    void set (DashStyle value);
}
member DashStyle : DashStyle with get, set
function get DashStyle () : DashStyle 
function set DashStyle (value : DashStyle)

Property Value

Type: System.Drawing.Drawing2D.DashStyle

.NET Framework Security

See Also

Reference

PenSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace