📜  WPF 颜色选择器 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:57.485000             🧑  作者: Mango

代码示例1
// install Extended.Wpf.Toolkit

xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"



private void ClrPcker_Background_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs e)
{
    TextBox.Text = "#" + ClrPcker_Background.SelectedColor.R.ToString() + ClrPcker_Background.SelectedColor.G.ToString() + ClrPcker_Background.SelectedColor.B.ToString();
}