Browse Source

Numeric UpDown editors: fixed bug dealing with the FormatString I introduced when trying to fix another bug.

import/raw
brianlagunas_cp 16 years ago
parent
commit
d3236a3026
  1. 1
      Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/NumericUpDown/Implementation/NumericUpDown.cs

1
Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/NumericUpDown/Implementation/NumericUpDown.cs

@ -39,6 +39,7 @@ namespace Microsoft.Windows.Controls
protected virtual void OnFormatStringChanged(string oldValue, string newValue) protected virtual void OnFormatStringChanged(string oldValue, string newValue)
{ {
if (IsInitialized)
Text = ConvertValueToText(); Text = ConvertValueToText();
} }

Loading…
Cancel
Save