Skip to main content
All docs
V21.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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