New to Telerik UI for WinForms? Download free 30-day trial

Removing the RadGridView Border

Environment

Product Version Product Author
2025.3.812 RadGridView for WinForms Dinko Krastev

Description

By default, a border surrounds the RadGridView control. This border is not related to the cell border but is the outermost border of the control itself. In this article, we will show how to remove that border.

If a MaterialBlueGrey theme is used, you will need to remove the shadow. In this theme, a shadow is drawn around the control, not a border.

Solution

To remove the control border of the RadGridView:

  1. If using the MaterialBlueGrey theme, the border is not enabled, but its shadow may appear. Disable the shadow by setting the EnableElementShadow property to false:

this.radGridView1.RootElement.EnableElementShadow = false;

  1. If using a different theme, remove the border by setting the DrawBorder property to false:

this.radGridView1.GridViewElement.DrawBorder = false;

See Also

In this article