Skip to main content
A newer version of this page is available. .
Tab

ImageGalleryFullscreenViewerSettings.ImageWidth Property

Gets or sets the image width within the fullscreen viewer.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(typeof(Unit), "1200")]
public Unit ImageWidth { get; set; }

Property Value

Type Default Description
Unit "1200"

A Unit structure that specifies the image width.

Property Paths

You can access this nested property as listed below:

Object Type Path to ImageWidth
ASPxImageGallery
ImageGallerySettings
MVCxImageGallery

Remarks

Use the ImageWidth property to specify the width of an image displayed in the fullscreen viewer when the ASPxImageGallery control is bound to a folder (by the ImageGalleryFolderSettings.ImageSourceFolder property).

Note

The ImageWidth property is not in effect when the ASPxImageGallery control is bound to a data source (the ASPxDataWebControlBase.DataSource or ASPxDataWebControl.DataSourceID property).

To specify the image height, use the ImageGalleryFullscreenViewerSettings.ImageHeight property.

See Also