diff --git a/src/Ursa.Themes.Semi/Controls/Divider.axaml b/src/Ursa.Themes.Semi/Controls/Divider.axaml new file mode 100644 index 0000000..1b36fb0 --- /dev/null +++ b/src/Ursa.Themes.Semi/Controls/Divider.axaml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + diff --git a/src/Ursa/Controls/Divider.cs b/src/Ursa/Controls/Divider.cs new file mode 100644 index 0000000..04d457b --- /dev/null +++ b/src/Ursa/Controls/Divider.cs @@ -0,0 +1,17 @@ +using Avalonia; +using Avalonia.Collections; +using Avalonia.Controls; +using Avalonia.Controls.Shapes; + +namespace Ursa.Controls; + +public class Divider : ContentControl +{ + public static readonly StyledProperty?> DashArrayProperty = Shape.StrokeDashArrayProperty.AddOwner(); + + public AvaloniaList? DashArray + { + get => GetValue(DashArrayProperty); + set => SetValue(DashArrayProperty, value); + } +} \ No newline at end of file