整理控件库

This commit is contained in:
GG Z
2025-05-05 17:04:06 +08:00
parent 74532b77be
commit 3eaad7566e
283 changed files with 2156 additions and 17846 deletions

View File

@@ -270,7 +270,7 @@ public sealed partial class ColorPickerControl
private void OnHexCodeTextChanged(object sender, TextChangedEventArgs e)
{
var newValue = ((TextBox)sender).Text;
var newValue = ((System.Windows.Controls.TextBox)sender).Text;
// support hex with 3 and 6 characters and optional with hashtag
var reg = new Regex("^#?([0-9A-Fa-f]{3}){1,2}$");
@@ -350,7 +350,7 @@ public sealed partial class ColorPickerControl
private void OnHexCodeGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
{
((TextBox)sender).SelectAll();
((System.Windows.Controls.TextBox)sender).SelectAll();
}
private void OnRgbNumberBoxTextChanged(object sender, TextChangedEventArgs e)