TX Text Control .NET for WPF

InputCenter 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

Sets or gets the numeric value of the source value range which will be mapped to the center of the target value range.

Syntax

public double InputCenter { get; set; }

Examples

The following example uses LogarithmicConverter.InputCenter to configure input center as part of the logarithmic converter workflow. The configured value is checked before the workflow continues.

logarithmicConverter.InputCenter = 1.0;
Console.WriteLine($"Input Center used by Logarithmic Converter: {logarithmicConverter.InputCenter}");