New to Telerik UI for WPF? Start a free 30-day trial
Disable the Horizontal Scrollbar of RadPropertyGrid
Updated on Sep 15, 2025
Environment
| Product Version | 2022.2 621 |
| Product | RadPropertyGrid for WPF |
Description
Setting the ScrollViewer.HorizontalScrollBarVisibility directly onto the RadPropertyGrid control instance does not hide the horizontal scrollbar.
Solution
-
Create a new
StylewithTargetType="ScrollViewer"in theResourcescollection of theRadPropertyGridelement instance. -
Set the
HorizontalScrollBarVisibilityproperty toDisabledvia aSetter.
Disable horizontal scrollbar
XAML
<telerik:RadPropertyGrid>
<telerik:RadPropertyGrid.Resources>
<Style TargetType="ScrollViewer">
<Setter Property="HorizontalScrollBarVisibility" Value="Disabled"/>
</Style>
</telerik:RadPropertyGrid.Resources>
</telerik:RadPropertyGrid>