ImageSliderNavigationBarSettings.ImageSizeMode Property
Gets or sets the value specifying how a thumbnail image fits into the navigation bar.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
ImageSizeMode | FillAndCrop | One of the ImageSizeMode enumeration values. |
Available values:
Name | Description |
---|---|
ActualSizeOrFit | If an image is bigger than the image area the image is reduced to fit the area. If an image is smaller than the image area, its size is not changed. |
FitProportional | An image is enlarged or reduced to fit the image area. |
FillAndCrop | An image is enlarged or reduced to fill the image area. Prominent parts are cropped. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ImageSizeMode |
---|---|---|
ASP.NET Web Forms Controls | ASPxImageSlider |
|
ASP.NET MVC Extensions | ImageSliderSettings |
|
Remarks
Image | Value | Description |
---|---|---|
ActualSizeOrFit | If an image is bigger than the navigation bar, the image is reduced to fit the bar. If an image is smaller than the navigation bar, its size is not changed. | |
FillAndCrop | An image is enlarged or reduced to fill the navigation bar. Prominent parts are cropped. | |
FitProportional | An image is enlarged or reduced to fit the navigation bar. |
See Also