You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I first started using the control, it appeared that databinding to the Value control was not working. However I figured out that the default binding mode (OneWay) was being used. I changed the definition of the associated DependencyProperty to be TwoWay by default, as follows:
public readonly static DependencyProperty ValueProperty = DependencyProperty.Register(
"Value",
typeof(decimal),
typeof(NumericUpDown),
new FrameworkPropertyMetadata( 0M, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault ) );
The text was updated successfully, but these errors were encountered:
When I first started using the control, it appeared that databinding to the Value control was not working. However I figured out that the default binding mode (OneWay) was being used. I changed the definition of the associated DependencyProperty to be TwoWay by default, as follows:
The text was updated successfully, but these errors were encountered: