Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomImageSlider.CanGoToNextImage Method

Determines if the slider control can bring the next image into view from the image collection (relative to the currently displayed image).

#Declaration

Delphi
function CanGoToNextImage: Boolean; virtual;

#Returns

Type
Boolean

#Remarks

This function returns True if the ItemIndex property value can be incremented by 1 in order to bring the next image from the collection into view. This function is used internally to determine the visibility of the corresponding slider button.

You can call the GoToNextImage method to slide the next image into view. This method succeeds only if the CanGoToNextImage function returns True.

See Also