Class PageChangingEventArgs
Event argument used for page index change notifications. The requested page move can be canceled by setting e.Cancel to True.
Inheritance
System.Object
System.EventArgs
System.ComponentModel.CancelEventArgs
PageChangingEventArgs
Inherited Members
System.ComponentModel.CancelEventArgs.Cancel
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.ComponentModel
Assembly: OpenSilver.dll
Syntax
public sealed class PageChangingEventArgs : CancelEventArgs
Constructors
| Improve this Doc View SourcePageChangingEventArgs(Int32)
Constructor that takes the target page index
Declaration
public PageChangingEventArgs(int newPageIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | newPageIndex | Index of the requested page |
Properties
| Improve this Doc View SourceNewPageIndex
Gets the index of the requested page
Declaration
public int NewPageIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |