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. 3
      Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/NumericUpDown/Implementation/NumericUpDown.cs

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

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

Loading…
Cancel
Save