ImageGalleryFolderSettings.ImageSourceFolder Property
Gets or sets the path to the folder that contains images displayed by the control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A String value specifying the path to the images. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Image |
---|---|
ASPx |
|
#Remarks
The ImageSourceFolder property specifies the location of the images that are displayed in the control. The corresponding thumbnails are created automatically.
Note
If the Image
protected void Page_Load(object sender, EventArgs e) {
imageGallery.SettingsFolder.ImageSourceFolder = cbSelectFolder.Value.ToString();
imageGallery.SettingsFolder.ImageCacheFolder = "~\Thumb\ImageGalleryThumb\";
}
For a full example, see Image Gallery - Folder Binding demo.