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.
Unfortunately, activation email could not send to your email. Please try again.

SfNumericUpDown doesn't respect SpinButtonsAlignment at runtime

Thread ID:

Created:

Updated:

Platform:

Replies:

118375 Mar 3,2015 06:13 PM Mar 4,2015 07:38 AM WinRT 2
loading
Tags: SfNumericUpDown
Daniel Thompson
Asked On March 3, 2015 06:13 PM

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



Daniel Thompson
Replied On March 3, 2015 06:19 PM

this is what it looks like at design time:

design time

and this is what it looks like at runtime:

runtime



Victory Jessie Selvam D [Syncfusion]
Replied On March 4, 2015 07:38 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;