Skip to main content

ImageGallerySettings.FullscreenViewerTextField Property

Gets or sets the name of a data field (or an xml element’s attribute) which provides image gallery item texts that are displayed in a fullscreen viewer.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string FullscreenViewerTextField { get; set; }

Property Value

Type Description
String

A string value that specifies the name of the required data source field.

Remarks

The FullscreenViewerTextField property is in effect if an image gallery is bound to a data source.

Use the FullscreenViewerTextField property to specify the bound data source’s data field (or an xml element attribute) which stores image gallery item descriptions that are displayed in a fullscreen viewer. The FullscreenViewerTextField property maps the ImageGalleryItem.FullscreenViewerText (via the MVCxImageGalleryItem.FullscreenViewerText) properties of image gallery item objects to the specified data field’s values.

If the FullscreenViewerTextField property of a data bound image gallery is not defined, the extension can automatically obtain item texts from a data field whose name is “FullscreenViewerText”. You can also handle the ImageGallerySettings.ItemDataBound event to manipulate an item’s settings as required.

See Also