Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1700
How to remove spaces before value
posted

Hello,

I have a NumericInput. I use it to insert a value with a Validation on the ApplyButton : http://i.imgur.com/d9cPbGK.png

I want to remove spaces before value.

Here is my code : 

<ig:XamNumericInput x:Name="NewValue" Value="{Binding NewValue, UpdateSourceTrigger=PropertyChanged}"
Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="2" Height="20" Width="70"
Mask="nnnnn.nn"
HorizontalAlignment="Left" SectionTabNavigation="NextSection"
InvalidValueBehavior="DisplayErrorMessage">
<ig:XamNumericInput.Resources>
<Style TargetType="{x:Type ig:XamNumericInput}">
<Setter Property="Background" Value="White"/>
<Setter Property="Foreground" Value="Black" />
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Background" Value="White" />
<Setter Property="Foreground" Value="Gray" />
<Setter Property="Opacity" Value="0.93" />
</Trigger>
</Style.Triggers>
</Style>
</ig:XamNumericInput.Resources>
</ig:XamNumericInput>

Could you help me ?

Regards

Parents Reply Children
No Data