TX Text Control .NET for WPF

Decimals Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the number of decimals for the converted value.

Syntax

public int Decimals { get; set; }

Examples

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}");