windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-imageslider.md
Gets a collection of images presented by an ImageSlider object.
Namespace : DevExpress.XtraEditors.Controls
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Appearance")]
public SliderImageCollection Images { get; }
<DXCategory("Appearance")>
Public ReadOnly Property Images As SliderImageCollection
| Type | Description |
|---|---|
| SliderImageCollection |
A SliderImageCollection object specifying images within an ImageSlider object.
|
The Images property returns a SliderImageCollection that specifies images shown by an ImageSlider object. The parent ImageSlider for the a collection can be obtained via the SliderImageCollection.Slider property.
The SliderImageCollection provides methods to manipulate (add, remove, insert and access) images shown by the ImageSlider object.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Images 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#L64
static void OnEnter(MyImageSlider slider) {
firstImage = slider.Images[0];
isFirstImageFound = false;
winforms-grid-image-slider-cell-editor/VB/WindowsFormsApplication202/ImageSliderHelper.vb#L69
Private Shared Sub OnEnter(ByVal slider As MyImageSlider)
firstImage = slider.Images(0)
isFirstImageFound = False
See Also