Skip to main content
Tab

ImageGalleryFullscreenViewerSettings.ImageWidth Property

Gets or sets the image width within the fullscreen viewer.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

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:

Library Object Type Path to ImageWidth
ASP.NET MVC Extensions ImageGallerySettings
ASP.NET Web Forms Controls ASPxImageGallery

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