21 lines
512 B
C#
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;
|
|
} |