<Style x:Key="CrashPager" TargetType="telerik:RadDataPager" BasedOn="{StaticResource {x:Type telerik:RadDataPager}}"> <Setter Property="Margin" Value="0,0,0,0" /> <Setter Property="Padding" Value="0,0,0,0" /> <Setter Property="Height" Value="Auto" /> <Setter Property="VerticalAlignment" Value="Top" /> <Setter Property="VerticalContentAlignment" Value="Top" /> </Style>
The code above has no margin and no padding.
Something is chopping the bottom from the RadDataPager control.
My guess is that this is being caused by the theme.
How can I get to show the control correctly?
Could you share what is the version of the assemblies that are used on your end (Xaml or NoXaml)?
If the Xaml version of the assemblies is used, could you try removing the BasedOn property from the Style that you provided and see if the unwanted behavior is still present?
<Style x:Key="CrashPager" TargetType="telerik:RadDataPager"> <Setter Property="Margin" Value="0,0,0,0" /> <Setter Property="Padding" Value="0,0,0,0" /> <Setter Property="Height" Value="Auto" /> <Setter Property="VerticalAlignment" Value="Top" /> <Setter Property="VerticalContentAlignment" Value="Top" /> </Style>
If the above suggestion does not help, could you share a sample project that showcases this behavior?