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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Property DashStyle As DashStyle
    Get
    Set
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