ImageSlider.GetImage Event

Occurs when an ImageSlider needs to change the currently displayed image to another image.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Events")]
public event EventHandler<GetImageEventArgs> GetImage
<DXCategory("Events")>
Public Event GetImage As EventHandler(Of GetImageEventArgs)

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.

See Also