diff --git a/demo/Ursa.Demo/Assets/IRIHI.png b/demo/Ursa.Demo/Assets/IRIHI.png
new file mode 100644
index 0000000..3f405aa
Binary files /dev/null and b/demo/Ursa.Demo/Assets/IRIHI.png differ
diff --git a/demo/Ursa.Demo/Pages/IntroductionDemo.axaml b/demo/Ursa.Demo/Pages/IntroductionDemo.axaml
index bc7e7e5..c538c6f 100644
--- a/demo/Ursa.Demo/Pages/IntroductionDemo.axaml
+++ b/demo/Ursa.Demo/Pages/IntroductionDemo.axaml
@@ -10,6 +10,9 @@
d:DesignHeight="800"
d:DesignWidth="1600"
mc:Ignorable="d">
+
+
+
M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM14 7C14 8.10457 13.1046 9 12 9C10.8954 9 10 8.10457 10 7C10 5.89543 10.8954 5 12 5C13.1046 5 14 5.89543 14 7ZM9 10.75C9 10.3358 9.33579 10 9.75 10H12.5C13.0523 10 13.5 10.4477 13.5 11V16.5H14.25C14.6642 16.5 15 16.8358 15 17.25C15 17.6642 14.6642 18 14.25 18H9.75C9.33579 18 9 17.6642 9 17.25C9 16.8358 9.33579 16.5 9.75 16.5H10.5V11.5H9.75C9.33579 11.5 9 11.1642 9 10.75Z
@@ -74,7 +77,7 @@
Height="300"
Scale="0.2"
Background="{DynamicResource SemiGrey1Color}"
- Source="../Assets/WORLD.png">
+ Source="../Assets/IRIHI.png">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -163,12 +206,12 @@
DualBadge
-
-
+
+
-
+
@@ -197,27 +240,46 @@
2.4k
-
+
+
+
+
+ 2.4k
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ Stretch
+
+
+
-
\ No newline at end of file
diff --git a/demo/Ursa.Demo/ViewModels/IntroductionDemoViewModel.cs b/demo/Ursa.Demo/ViewModels/IntroductionDemoViewModel.cs
index 9a3488c..66ced6d 100644
--- a/demo/Ursa.Demo/ViewModels/IntroductionDemoViewModel.cs
+++ b/demo/Ursa.Demo/ViewModels/IntroductionDemoViewModel.cs
@@ -1,9 +1,11 @@
+using System;
using System.Collections.ObjectModel;
+using System.Net;
using CommunityToolkit.Mvvm.ComponentModel;
namespace Ursa.Demo.ViewModels;
-public class IntroductionDemoViewModel : ObservableObject
+public partial class IntroductionDemoViewModel : ObservableObject
{
public ObservableCollection MenuItems { get; set; } = new()
{
@@ -43,5 +45,16 @@ public class IntroductionDemoViewModel : ObservableObject
}
};
- public ObservableCollection ButtonGroupItems { get; set; } = ["Ding", "Otter", "Husky", "Mr. 17", "Cass"];
+ public ObservableCollection ButtonGroupItems { get; set; } = new()
+ {
+ "Avalonia", "WPF", "Xamarin"
+ };
+
+ [ObservableProperty] private IPAddress? _address;
+
+ public void ChangeAddress()
+ {
+ long l = Random.Shared.NextInt64(0x00000000FFFFFFFF);
+ Address = new IPAddress(l);
+ }
}
\ No newline at end of file