

'Declaration<TemplatePartAttribute(Name="PART_CalculatorPopup", Type=System.Windows.Controls.Primitives.Popup)> <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)> <XmlLangPropertyAttribute("Language")> <UsableDuringInitializationAttribute(True)> <RuntimeNamePropertyAttribute("Name")> <UidPropertyAttribute("Uid")> <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)> <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)> Public Class CalculatorUpDown Inherits DecimalUpDown Implements Xceed.Wpf.Toolkit.Core.Input.IValidateInput
'UsageDim instance As CalculatorUpDown
[TemplatePart(Name="PART_CalculatorPopup", Type=System.Windows.Controls.Primitives.Popup)] [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)] [XmlLangProperty("Language")] [UsableDuringInitialization(true)] [RuntimeNameProperty("Name")] [UidProperty("Uid")] [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public class CalculatorUpDown : DecimalUpDown, Xceed.Wpf.Toolkit.Core.Input.IValidateInput
When using the CalculatorUpDown in data binding scenarios, bind your object's value to the Value property. You can specify how much to increment the value by setting the Increment property. You can control the minimum and maximum allowed values by setting the Minimum and the Maximum properties. You can also specify if the user can directly edit the values in the text box by setting the IsEditable property. To get the actual formatted string representation of the value, use the Text property.
FormatString supports the following specifiers: C (currency), F (fixed point), G (general), N (number), and P (percent).
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Xceed.Wpf.Toolkit.Primitives.InputBase
Xceed.Wpf.Toolkit.Primitives.UpDownBase<T>
Xceed.Wpf.Toolkit.NumericUpDown<T>
Xceed.Wpf.Toolkit.CommonNumericUpDown<T>
Xceed.Wpf.Toolkit.DecimalUpDown
Xceed.Wpf.Toolkit.CalculatorUpDown
| Name | Description | |
|---|---|---|
![]() | CalculatorUpDown Constructor | Initializes a new instance of the CalculatorUpDown class. |
| Name | Description | |
|---|---|---|
![]() ![]() | DisplayTextProperty | Identifies the DisplayText dependency property. |
![]() ![]() | DropDownButtonContentProperty | |
![]() ![]() | DropDownButtonDisabledContentProperty | |
![]() ![]() | DropDownButtonHeightProperty | |
![]() ![]() | DropDownButtonWidthProperty | |
![]() ![]() | EnterClosesCalculatorProperty | Identifies the EnterClosesCalculator dependency property. |
![]() ![]() | IsOpenProperty | Identifies the IsOpen dependency property. |
![]() ![]() | MemoryProperty | Identifies the Memory dependency property. |
![]() ![]() | PrecisionProperty | Identifies the Precision dependency property. |
| Name | Description | |
|---|---|---|
![]() | FindLogicalAncestor<T> | Finds the logical ancenster |
![]() | FindLogicalAncestorsAndSelf | |
![]() | FindLogicalChildren<T> | Find the logical children. |
![]() | FindVisualAncestor<T> | Finds the visual ancestor. |
![]() | FindVisualChildren<T> | Finds the visual children. |
![]() | FindVisualTreeRoot | Finds the visual tree root. |
![]() | ShowDialog | Overloaded. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.