1using Microsoft.Maui.Controls;
2using Microsoft.Maui.Graphics;
10 this.InitializeComponent();
14 public static readonly BindableProperty LabelTextProperty =
15 BindableProperty.Create(
21 public string LabelText
23 get => (string)this.GetValue(LabelTextProperty);
24 set => this.SetValue(LabelTextProperty, value);
28 public static readonly BindableProperty SvgSourceProperty =
29 BindableProperty.Create(
35 public string SvgSource
37 get => (string)this.GetValue(SvgSourceProperty);
38 set => this.SetValue(SvgSourceProperty, value);
42 public static readonly BindableProperty ContentColorProperty =
43 BindableProperty.Create(
49 public Color ContentColor
51 get => (Color)this.GetValue(ContentColorProperty);
52 set => this.SetValue(ContentColorProperty, value);
56 public static new readonly BindableProperty BackgroundColorProperty =
57 BindableProperty.Create(
58 nameof(BackgroundColor),
63 public new Color BackgroundColor
65 get => (Color)this.GetValue(BackgroundColorProperty);
66 set => this.SetValue(BackgroundColorProperty, value);