Skip to main content
All docs
V21.2

SnapImage.ShowPlaceholder Property

Specifies whether or not to display the field’s placeholder 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 ShowPlaceholder { get; set; }

Property Value

Type Description
Boolean

true to display the field’s placeholder; otherwise, false.

Remarks

Use the ShowPlaceholder property to display the field’s placeholder instead of a blank space when the field receives an empty data source record and the SnapSingleListItemEntity.EnableEmptyFieldDataAlias property is set to false.

The image below shows the placeholder.

Shape_Showplaceholder

See Also