IntegerUpDown

May 10, 2011 at 1:09 PM

Hi,

 

The IntegerUpDown control doesn't respond to Horizontal and vertical content alignment properties, is there any solution to this?

 

<Toolkit:DecimalUpDown Margin="5" Name="dudGewicht" Grid.Row="4" Grid.Column="1" VerticalContentAlignment="Center" Minimum="0" Maximum="200" Text="65" HorizontalContentAlignment="Center" />

With this code the Text specified stays at the upper right corner of the control.

 

 

Greetings

May 10, 2011 at 1:29 PM

You want to use the TextAlignment property.  Also, be sure not to bind your source to the Text property but instead bind it to the Value property.

May 10, 2011 at 1:30 PM

ALso, make sure you are using the current version of 1.4.0.2

May 10, 2011 at 1:39 PM

Thank you!