or
<Style TargetType="{x:Type telerik:RadNumericUpDown}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="36"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="36"/> </Grid.ColumnDefinitions> <!--1. Textbox control for text input--> <TextBox x:Name="textbox" Grid.Column="1" HorizontalAlignment="Stretch" /> <!--2. Button control for increasing the value--> <RepeatButton x:Name="increase" Style="{StaticResource BaseButtonStyle}" Grid.Column="2"> <Viewbox> <Grid Width="20" Height="20"> <Path Stroke="Black" Data="M0,5 H10 M5,5 V10Z" StrokeThickness="2" Height="10" Width="10" UseLayoutRounding="True" /> </Grid> </Viewbox> </RepeatButton> <!--3. Button control for decreasing the value--> <RepeatButton x:Name="decrease" Style="{StaticResource BaseButtonStyle}" Grid.Column="0"> <Viewbox> <Grid Width="20" Height="20"> <Path Stroke="Black" Data="M0,5 H10" StrokeThickness="2" Height="10" Width="10" UseLayoutRounding="True" /> </Grid> </Viewbox> </RepeatButton> </Grid> </ControlTemplate> </Setter.Value> </Setter></Style><UserControl.Resources> <ListBoxDragReorderWpf:TemplateViewModel x:Key="TemplateViewModel"/> <DataTemplate x:Key="RadListBoxItemTemplate"> <TextBlock Text="{Binding Name}"/> </DataTemplate> <Style x:Key="RadListBoxContainerStyle" TargetType="{x:Type telerik:RadListBoxItem}"> <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/> </Style> <Style x:Key="RadListBoxStyle" TargetType="{x:Type telerik:RadListBox}"> <Setter Property="ItemContainerStyle" Value="{StaticResource RadListBoxContainerStyle}"/> <Setter Property="ItemTemplate" Value="{StaticResource RadListBoxItemTemplate}"/> </Style> </UserControl.Resources> <Grid DataContext="{StaticResource TemplateViewModel}"> <telerik:RadListBox ItemsSource="{Binding Pages}" Style="{StaticResource RadListBoxStyle}" Width="100" Height="200"> <telerik:RadListBox.DragDropBehavior> <telerik:ListBoxDragDropBehavior/> </telerik:RadListBox.DragDropBehavior> <telerik:RadListBox.DragVisualProvider> <telerik:ScreenshotDragVisualProvider /> </telerik:RadListBox.DragVisualProvider> <telerik:RadListBox.DropVisualProvider> <telerik:LinearDropVisualProvider /> </telerik:RadListBox.DropVisualProvider> </telerik:RadListBox> </Grid>