Click or drag to resize

DashStyleTryParse Method

Attempts to parse the specified value into a dash style. This can be one of the system styles (solid, dash, dot, dashdot, dashdotdot), or a series of numbers separated by commas specifying the solid and gap parts (see Dashes)

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static bool TryParse(
	string value,
	out DashStyle style
)

Parameters

value
Type: SystemString
String value to parse
style
Type: Eto.DrawingDashStyle
DashStyle representation of the specified value if successful

Return Value

Type: Boolean
True if successful, or false if the value could not be parsed
See Also