Browse Source

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

pull/1645/head
brianlagunas_cp 15 years ago
parent
commit
21a737032d
  1. 3
      ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/NumericUpDown/Implementation/NumericUpDown.cs

3
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