Provides data for a page navigation command in RadImageGallery and encapsulates the logic that applies the new page index during command execution. Raised through the Page command (First/Prev/Next/Last or explicit index).
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class ImageGalleryPageIndexChangedEventArgs : ImageGalleryCommandEventArgs
Inheritance: objectEventArgsCommandEventArgsImageGalleryCommandEventArgsImageGalleryPageIndexChangedEventArgs
Inherited Members
Constructors
C#
public ImageGalleryPageIndexChangedEventArgs(object commandArgument)
Properties
Gets the new CurrentPageIndex that will be applied to the RadImageGallery control after the command has executed.
C#
public int NewPageIndex { get; }
Methods
Executes the page change command sequence:
- Resolves the target index.
- Raises Command / PageIndexChanged events (with cancellation support).
- Applies page index (resets CurrentItemIndex) and rebinds.
C#
public override void ExecuteCommand(RadImageGallery gallery)
The target RadImageGallery instance.
Overrides: