Sets or gets the numeric value of the source value range which will be mapped to the center of the target value range.
public double InputCenter { get; set; }
Public Property InputCenter() As Double
The following example uses Input
?
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}}" />