polish
This commit is contained in:
@@ -39,7 +39,7 @@ public partial class NumericUpDownDemoViewModel : ObservableObject
|
||||
Array_ParsingNumberStyle = Enum.GetValues(typeof(NumberStyles));
|
||||
NumericUIntUpDown numericUIntUpDown;
|
||||
TextBox textBox;
|
||||
|
||||
|
||||
}
|
||||
|
||||
partial void OnValueChanging(uint oldValue, uint newValue)
|
||||
|
||||
@@ -336,7 +336,6 @@ public abstract class NumericUpDownBase<T> : NumericUpDown where T : struct, ICo
|
||||
|
||||
if ((numberStyles & NumberStyles.AllowHexSpecifier) != 0)
|
||||
{
|
||||
|
||||
if (text.StartsWith("0X") || text.StartsWith("0x")) // support 0x hex while user input
|
||||
{
|
||||
text = text.Substring(2);
|
||||
|
||||
Reference in New Issue
Block a user