Back to Devexpress

ImageGalleryItem.Text Property

aspnet-devexpress-dot-web-dot-imagegalleryitem-23cb16cd.md

latest2.2 KB
Original Source

ImageGalleryItem.Text Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string Text { get; set; }
vb
<DefaultValue("")>
Public Property Text As String

Property Value

TypeDefaultDescription
StringString.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

Image Gallery

ImageGalleryItem Class

ImageGalleryItem Members

DevExpress.Web Namespace