SnapSingleListItemEntity.EmptyFieldDataAlias Property
Specifies the text to show in a document instead of a blank space if a Snap field receives an empty data source record.
Namespace: DevExpress.Snap.Core.API
Assembly: DevExpress.Snap.v21.2.Core.dll
NuGet Package: DevExpress.Snap.Core
#Declaration
#Property Value
Type | Description |
---|---|
String | A String value, specifying the empty field data alias. |
#Remarks
Use the SnapSingleListItemEntity.EnableEmptyFieldDataAlias property to display the alias specified by the EmptyFieldDataAlias option.
Tip
Use the Snap
The table below lists scenarios when the EmptyFieldDataAlias value is displayed for different fields.
Field Name | Empty Data Source Scenario |
---|---|
SNTEXT | The data source does not contain the required entry |
The required data entry is null or DBNull. | |
The required data entry returns an empty string. | |
SNHYPERLINK | The data source does not contain the data entry bound to the Snap |
The data entry bound to the Snap |