Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • SnapSingleListItemEntity.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.API

    Assembly: DevExpress.Snap.v21.2.Core.dll

    NuGet Package: DevExpress.Snap.Core

    Declaration

    bool EnableEmptyFieldDataAlias { get; set; }

    Property Value

    Type Description
    Boolean

    true to replace empty data records with an alias in the document; otherwise false.

    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