Files
SimpleDraw/Models/ColorPickerButton.cs
2025-02-19 01:05:22 +01:00

21 lines
512 B
C#

using System.Collections.Generic;
using System.ComponentModel;
using Avalonia.Media;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
namespace SimpleDraw.Models;
public class ColorPickerButton : ObservableObject
{
private SolidColorBrush _color;
public RelayCommand SelectColorCommand { get; set; }
public SolidColorBrush Color
{
get => _color;
set => _color = value;
}
// public event PropertyChangedEventHandler? PropertyChanged;
}