Skip to main content
A newer version of this page is available.
All docs
V19.1

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.v19.1.Core.dll

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