Appearance and Styling in WPF Domain Updown (SfDomainUpDown)

18 Feb 20251 minute 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"/>

Accent brush

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

<Page xmlns:editors="clr-namespace:Syncfusion.Windows.Controls.Input;assembly=Syncfusion.SfInput.Wpf">
<Grid>
<editors:SfDomainUpDown x:Name="domainUpDown"
                       HorizontalAlignment="Center"
                       VerticalAlignment="Center"
                       Width="200" 
                      AccentBrush="Black"
                      Value="James">
</editors:SfDomainUpDown >
</Grid>
</Page>