GridTextColumnBase.NullText Property
In This Article
Gets or sets the text displayed in the cell when the cell’s value is null. This is a dependency property.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Property Value
Type | Description |
---|---|
String | The string displayed in the cell when the cell’s value is null. |
#Remarks
<dxg:GridControl ItemsSource="{x:Bind ViewModel.Source}" AutoGenerateColumns="False" NavigationStyle="Cell">
<dxg:GridControl.Columns>
<dxg:GridTextColumn FieldName="ProductName" NullText="Product Name" NullTextForeground="LightBlue"/>
<!-- ... -->
</dxg:GridControl.Columns>
</dxg:GridControl>
See Also