New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Provides data for a page size change command in RadImageGallery and applies the new page size when executed.

Definition

Constructors

C#
public ImageGalleryPageSizeChangedEventArgs(object commandArgument)
Parameters:commandArgumentobject

Properties

Gets the new CurrentItemIndex that will be applied to the RadImageGallery control after the command have executed.

C#
public int NewPageSize { get; }

Methods

Executes the page size change sequence:

  1. Raises Command / PageSizeChanged (with cancellation support)
  2. Resets CurrentItemIndex to 0
  3. Applies PageSize and rebinds.
C#
public override void ExecuteCommand(RadImageGallery gallery)
Parameters:galleryRadImageGallery

Target RadImageGallery instance.

Overrides: ImageGalleryCommandEventArgs.ExecuteCommand(RadImageGallery)