feat: initialize control.
This commit is contained in:
17
src/Ursa/Controls/Divider.cs
Normal file
17
src/Ursa/Controls/Divider.cs
Normal file
@@ -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<AvaloniaList<double>?> DashArrayProperty = Shape.StrokeDashArrayProperty.AddOwner<Divider>();
|
||||
|
||||
public AvaloniaList<double>? DashArray
|
||||
{
|
||||
get => GetValue(DashArrayProperty);
|
||||
set => SetValue(DashArrayProperty, value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user