New to Telerik UI for WPFStart a free 30-day trial

GridView FilteringControl Changes Its Width While Scrolling

Updated on Sep 15, 2025

Environment

Product Version2019.3 917
ProductRadGridView for WPF

Description

FilteringControl changes its width when scrolling the DistinctValuesList to an item with longer text value.

Solution

Such behavior can be observed only when there are elements with greater width than the default one of the RadGridView's FilteringControl. To resolve this, create a Style like the following:

XAML
	<Style TargetType="telerik:FilteringControl"> <!--Add BasedOn="{StaticResource FilteringControlStyle}" when using the NoXaml assemblies-->
		<Setter Property="MinWidth" Value="0"/>
		<Setter Property="Width" Value="500"/>
	</Style>

The recommended Width value in the above style depends on the application theme that you use, plus the default Culture and the default FontSize of the RadGridView.

The table below contains all of the available themes, their default font sizes and the recommended width values for the FilteringControl.

Theme nameDefault FontSizeRecommended Width
VisualStudio201912220
Crystal13250
Fluent12250
Material14280
Office2016Touch14250
Office201612216
Green12240
VisualStudio201312240
Office201315220
Windows8Touch15300
Windows812210
All other themes12215

These values are chosen to be suitable for all available cultures and the default font sizes for a specific theme. In case you need to apply the biggest font size from a theme's Palette, please refer to the following table.

Theme nameMax Palette FontSizeRecommended Width
VisualStudio2019FontSizeXL (20)355
CrystalFontSizeXL (15)275
FluentFontSizeXL (14)255
MaterialFontSizeL (18)345
Office2016TouchFontSizeL (16)285
Office2016FontSizeL (14)250
GreenFontSizeXL (14)275
VisualStudio2013FontSizeXXL (22)405
Office2013FontSizeXL (16)225
Windows8TouchFontSizeXXL (24)420
Windows8FontSizeXXXL (24)410

Themes that are not part of this table do not support theme palettes.

If you need to apply bigger font sizes for a theme, different than the default or the max ones, you will need to match them with an appropriate width value.

See Also