A newer version of this page is available. Switch to the current version.

DataViewBase.ShowEmptyText Property

Gets or sets whether to show the No Records text when the GridControl's data area displays no records.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


public bool ShowEmptyText { get; set; }
Public Property ShowEmptyText As Boolean

Property Value

Type Default Description


true, to show the No Records text; otherwise, false.


Set the ShowEmptyText property to true to show the No Records text in the following cases:

  • The GridControl's data source is not specified or empty.

  • A filter/search query has no results.


In master-detail mode, the No Records text is displayed in the master grid only.

Customize Text

See Also