We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfNumericUpDown doesn't respect SpinButtonsAlignment at runtime

Hi,

I have the following style defined:

<Style
      x:Key="NumericUpDownStyle"
      TargetType="input:SfNumericUpDown">
      <Setter
         Property="SpinButtonsAlignment"
         Value="Both" />
</Style

I'm using it in the following way:

            <input:SfNumericUpDown
               x:Name="NumberSoldSfNumericUpDown"
               Style="{StaticResource NumericUpDownStyle}"
               Grid.Column="3"
               Grid.Row="3"
               Value="{Binding NumberSold}" />

There is no other place where I am setting SpinButtonsAlignment.

In the designer, this shows as expected, with one button on the left, the input box, and one button on the right.

At runtime, both buttons are on the right. How to fix?

Thanks,
Daniel



2 Replies

DT Daniel Thompson March 3, 2015 11:19 PM UTC

this is what it looks like at design time:

design time

and this is what it looks like at runtime:

runtime




VJ Victory Jessie Selvam D Syncfusion Team March 4, 2015 12:38 PM UTC

Hi Daniel,

Thank you for using Syncfusion products.

We were able to reproduce the issue "SpinButtonsAlignment is not working when set in style" and have logged defect report regarding this. The fix for this issue will be included in our upcoming Volume 1 release which is scheduled on end of March 2015.

Please let us know if you have any questions.

Regards,
Jessie

Loader.
Live Chat Icon For mobile
Up arrow icon