Skip to main content
Tab

ImageGalleryItem.Text Property

Gets or sets the text (description) of the current image item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string Text { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the text.

Remarks

The text specified by the Text property is displayed in the thumbnail text area and fullscreen viewer text area. You can specify the particular item text displayed in the fullscreen viewer text area by the ImageGalleryItem.FullscreenViewerText property.

When the AccessibilityCompliant property is enabled, an alternative text for a gallery image is obtained from the Text property. If the Text property is not specified, an image’s filename and extension (saved within the ImageGalleryItem.ThumbnailUrl property) are used to define its alternative text.

See Also