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.CanGoToPrevImage Method

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

#Declaration

Delphi
function CanGoToPrevImage: Boolean; virtual;

#Returns

Type
Boolean

#Remarks

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

You can call the GoToPrevImage method to slide the previous image into view. This method succeeds only if the CanGoToPrevImage function returns True.

See Also