Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PathDataElement.cs
1using Microsoft.Maui.Controls.Shapes;
2
4{
5 internal static class PathDataElement
6 {
8 public static readonly BindableProperty PathDataProperty =
9 BindableProperty.Create(nameof(IPathDataElement.PathData), typeof(Geometry), typeof(IPathDataElement), default(Geometry),
10 propertyChanged: OnPathDataPropertyChanged);
11
12 static void OnPathDataPropertyChanged(BindableObject Bindable, object OldValue, object NewValue)
13 {
14 ((IPathDataElement)Bindable).OnPathDataPropertyChanged((Geometry)OldValue, (Geometry)NewValue);
15 }
16
18 public static readonly BindableProperty PathStyleProperty =
19 BindableProperty.Create(nameof(IPathDataElement.PathStyle), typeof(Style), typeof(IPathDataElement), default(Style),
20 propertyChanged: OnPathStylePropertyChanged);
21
22 static void OnPathStylePropertyChanged(BindableObject Bindable, object OldValue, object NewValue)
23 {
24 ((IPathDataElement)Bindable).OnPathStylePropertyChanged((Style)OldValue, (Style)NewValue);
25 }
26 }
27}