windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-imageslider-96a857c5.md
Gets or sets the source of images to be displayed in the ImageSlider control.
Namespace : DevExpress.XtraEditors.Controls
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Appearance")]
public object ImageList { get; set; }
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property ImageList As Object
| Type | Default | Description |
|---|---|---|
| Object | null |
A Object that represents an image collection providing images for the ImageSlider control.
|
The ImageList property accepts the following image collections:
You can also use the ImageSlider.Images property to provide a collection of images. If both properties are specified, the ImageList property has priority.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageList property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-image-slider-cell-editor/CS/WindowsFormsApplication202/ImageSliderHelper.cs#L39
MyImageSlider slider = edit.Properties.Control as MyImageSlider;
slider.ImageList = imageList;
OnEnter(slider);
winforms-grid-image-slider-cell-editor/VB/WindowsFormsApplication202/ImageSliderHelper.vb#L43
Dim slider As MyImageSlider = TryCast(edit.Properties.Control, MyImageSlider)
slider.ImageList = imageList
OnEnter(slider)
See Also