ImageSlider.GetImage Event
In This Article
Occurs when an ImageSlider needs to change the currently displayed image to another image.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DXCategory("Events")]
public event EventHandler<GetImageEventArgs> GetImage
#Event Data
The GetImage event's data class is GetImageEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Current |
Gets or sets whether the currently displayed image was successfully changed. |
Image |
Gets or sets an image that is be displayed within the current Image |
Is |
Gets or sets if the image to be displayed is the first image within the Image |
Is |
Gets or sets if the image to be displayed is the last image within the Image |
Is |
Gets or sets whether the image query is the result of an image sliding forward. |
Is |
Gets or sets whether the image query is the result of an image sliding backward. |
Is |
Gets or sets whether the image required is the very first to be uploaded by the current Image |
#Remarks
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