ImageSlider.GetImage Event
Occurs when an ImageSlider needs to change the currently displayed image to another image.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
Event Data
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. |
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetImage event.
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.