Decimals Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the number of decimals for the converted value.
Syntax
public int Decimals { get; set; }Public Property Decimals As IntegerExamples
The following example uses MeasureConverter.Decimals to configure decimals as part of the measure converter workflow. The configured value is checked before the workflow continues.
measureConverter.Decimals = 10;
Console.WriteLine($"Decimals used by Measure Converter: {measureConverter.Decimals}");measureConverter.Decimals = 10
Console.WriteLine($"Decimals used by Measure Converter: {measureConverter.Decimals}")