[This is preliminary documentation and is subject to change.]
Attempts to convert user-typed text to number
Namespace: Tools.WindowsT.WPF.ControlsTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| Visual Basic |
|---|
Protected Overridable Function TextToValue ( _
text As String, _
fallback As Decimal _
) As Decimal |
Return Value
text converted to number. It conversion is not possible returns
fallback.
Return value should be acceptable by
Minimum,
Maximum and
DecimalPlaces constraints.
This implementation utilizes CoerceValue(DependencyObject, Object)
See Also