Skip to main content
DashStyles Class
 

Implements a set of predefined DashStyle objects.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

SystemObject
  System.Windows.MediaDashStyles

public static class DashStyles
public ref class DashStyles abstract sealed 
[<AbstractClass>]
[<Sealed>]
type DashStyles = class end
Public NotInheritable Class DashStyles
NameDescription
System_CAPS_pubproperty System_CAPS_static

Gets a DashStyle with a property equal to 2,2.

System_CAPS_pubproperty System_CAPS_static

Gets a DashStyle with a property equal to 2,2,0,2.

System_CAPS_pubproperty System_CAPS_static

Gets a DashStyle with a property equal to 2,2,0,2,0,2.

System_CAPS_pubproperty System_CAPS_static

Gets a DashStyle with a property equal to 0,2.

System_CAPS_pubproperty System_CAPS_static

Gets a DashStyle with an empty property.

The following illustration shows examples of different dash styles applied to an underline.

Shows several different dash styles.

You cannot declare this managed class in XAML, but you can use its static properties to assign values in XAML.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top