You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
707 B
C#
36 lines
707 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Animation;
|
|
|
|
namespace WpfSketch
|
|
{
|
|
enum ColorPickerButtonSize
|
|
{
|
|
Small,
|
|
Middle,
|
|
Large
|
|
}
|
|
|
|
internal class ColorPicker
|
|
{
|
|
public Brush Foreground { get; set; } = new SolidColorBrush(Colors.Red);
|
|
public bool IsActived
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public Color BackgroundColor { get; set; }
|
|
public ColorPickerButtonSize Size
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|