ClassDashStyle
Class
Defines the dash style of a pen.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
cs-api-definition
public class DashStyle
Inheritance: objectDashStyle
Constructors
DashStyle()
Initializes a new instance of the DashStyle class.
Declaration
cs-api-definition
public DashStyle()
DashStyle(DoubleCollection, double)
Initializes a new instance of the DashStyle class.
Declaration
cs-api-definition
public DashStyle(DoubleCollection dashes, double offset)
Parameters
dashes
DoubleCollection
offset
Properties
Dashes
Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to outline shapes.
Declaration
cs-api-definition
public DoubleCollection Dashes { get; }
Property Value
DoubleCollection
Id
Gets or sets the unique identifier of the style.
Methods
Clone()
Creates an exact copy of this pen.
Declaration
cs-api-definition
public DashStyle Clone()
Returns
An instance of the Pen class.
FromId(int)
Returns the dash style with the specified identifier (if it exists).
ToString()
Returns a string that represents this instance.