18 lines
444 B
C#
18 lines
444 B
C#
using System.Collections.ObjectModel;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using Ursa.Common;
|
|
|
|
namespace Ursa.Demo.ViewModels;
|
|
|
|
public partial class IconButtonDemoViewModel : ObservableObject
|
|
{
|
|
[ObservableProperty] private Position _selectedPosition = Position.Top;
|
|
|
|
public ObservableCollection<Position> Positions =>
|
|
[
|
|
Position.Left,
|
|
Position.Top,
|
|
Position.Right,
|
|
Position.Bottom,
|
|
];
|
|
} |