windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-imageslider-f66f26a5.md
Occurs when an ImageSlider needs to change the currently displayed image to another image.
Namespace : DevExpress.XtraEditors.Controls
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Events")]
public event EventHandler<GetImageEventArgs> GetImage
<DXCategory("Events")>
Public Event GetImage As EventHandler(Of GetImageEventArgs)
The GetImage event's data class is GetImageEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| CurrentImageUpdated | Gets or sets whether the currently displayed image was successfully changed. |
| Image | Gets or sets an image that is be displayed within the current ImageSlider. |
| IsFirst | Gets or sets if the image to be displayed is the first image within the ImageSlider. |
| IsLast | Gets or sets if the image to be displayed is the last image within the ImageSlider. |
| IsNext | Gets or sets whether the image query is the result of an image sliding forward. |
| IsPrev | Gets or sets whether the image query is the result of an image sliding backward. |
| IsStartUp | Gets or sets whether the image required is the very first to be uploaded by the current ImageSlider. |
Handle the GetImage event to pass a required image to the ImageSlider control. The ImageSlider event parameters allow you to define whether the image query is a result of sliding forward, backwards or a start-up image. See the Virtual Mode topic to learn more.
See Also