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 Double

Examples

The following example uses InputCenter property to set 10 as the numeric value of the source value range which will be mapped to the center of the target value range.

…
xmlns:tx="clr-namespace:TXTextControl.WPF;assembly=TXTextControl.WPF"
…
<Window.Resources>
    <tx:LogarithmicConverter
        x:Key="logConv"
        InputMinimum="10"
        InputCenter="100"
        InputMaximum="400"
        OutputMinimum="0"
        OutputMaximum="100" />
</Window.Resources>
…
<Slider
    Minimum="0"
    Maximum="100"
    Value="{Binding ElementName=textControl1, Path=ZoomFactor, Converter={StaticResource logConv}}" />