windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-7a37a86d.md
Forces the vertical grid to invalidate its client area and immediately redraw itself.
Namespace : DevExpress.XtraVerticalGrid
Assembly : DevExpress.XtraVerticalGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
public override void Refresh()
Public Overrides Sub Refresh
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Refresh() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-property-grid-custom-sorting/CS/Form1.cs#L30
propertyGridControl1.OptionsBehavior.PropertySort = allowCustomSorting ? DevExpress.XtraVerticalGrid.PropertySort.NoSort : DevExpress.XtraVerticalGrid.PropertySort.Alphabetical;
propertyGridControl1.Refresh();
}
winforms-property-grid-custom-sorting/VB/Form1.vb#L28
propertyGridControl1.OptionsBehavior.PropertySort = If(allowCustomSorting, DevExpress.XtraVerticalGrid.PropertySort.NoSort, DevExpress.XtraVerticalGrid.PropertySort.Alphabetical)
propertyGridControl1.Refresh()
End Sub
See Also