InputCenter Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property InputCenter As DoubleExamples
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}");logarithmicConverter.InputCenter = 1.0
Console.WriteLine($"Input Center used by Logarithmic Converter: {logarithmicConverter.InputCenter}")