Appearance and Styling in UWP Domain UpDown (SfDomainUpDown)

10 May 20212 minutes to read

Spin Animation

Items will spin up or down with smooth transition. The transition can be disabled using the EnableSpinAnimation property.

<syncfusion:SfDomainUpDown x:Name="domain"

                                 HorizontalAlignment="Center"

                                 VerticalAlignment="Center"

                                 Width="200" EnableSpinAnimation="True"/>
domain.EnableSpinAnimation = true;
domain.EnableSpinAnimation = True

Accent Brush

The AccentBrush property is used to decorate the hot spots of a control with a solid color.

<Page xmlns:editors="using:Syncfusion.UI.Xaml.Controls.Input">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">



        <editors:SfDomainUpDown x:Name="domainUpDown"

                               HorizontalAlignment="Center"

                               VerticalAlignment="Center"

                               Width="200" 

AccentBrush="Black"

                              Value="James">

        </editors:SfDomainUpDown >



    </Grid>

</Page>
domainUpDown.AccentBrush = new SolidColorBrush(Colors.Red);
domainUpDown.AccentBrush = New SolidColorBrush(Colors.Red)