SnapFieldOptions.EnableEmptyFieldDataAlias Property
Enables the application displaying a custom text instead of a blank space if a Snap field receives an empty data source record.
Namespace: DevExpress.Snap.Core.Options
Assembly: DevExpress.Snap.v19.1.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true to replace empty data records with an alias in the document; otherwise false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to EnableEmptyFieldDataAlias |
---|---|
SnapControlOptions |
|
Remarks
The SnapSingleListItemEntity.EmptyFieldDataAlias property specifies the text displayed by empty document fields.
Tip
Use the SnapImage.ShowPlaceholder property to show a placeholder instead of the blank space. This property has effect only if the EnableEmptyFieldDataAlias property is set to false.
See Also