1using Microsoft.Maui.Controls.Shapes;
5 internal static class PathDataElement
8 public static readonly BindableProperty PathDataProperty =
9 BindableProperty.Create(nameof(IPathDataElement.PathData), typeof(Geometry), typeof(IPathDataElement),
default(Geometry),
10 propertyChanged: OnPathDataPropertyChanged);
12 static void OnPathDataPropertyChanged(BindableObject Bindable,
object OldValue,
object NewValue)
14 ((IPathDataElement)Bindable).OnPathDataPropertyChanged((Geometry)OldValue, (Geometry)NewValue);
18 public static readonly BindableProperty PathStyleProperty =
19 BindableProperty.Create(nameof(IPathDataElement.PathStyle), typeof(Style), typeof(IPathDataElement),
default(Style),
20 propertyChanged: OnPathStylePropertyChanged);
22 static void OnPathStylePropertyChanged(BindableObject Bindable,
object OldValue,
object NewValue)
24 ((IPathDataElement)Bindable).OnPathStylePropertyChanged((Style)OldValue, (Style)NewValue);