PageSelectionChangedEventArgs Class
Definition
Provides data for a page selection-changed event.
public class PageSelectionChangedEventArgs
Constructors
| Name | Description |
|---|---|
| PageSelectionChangedEventArgs | Initializes a new instance of the Avalonia.Controls.PageSelectionChangedEventArgs class. |
PageSelectionChangedEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.PageSelectionChangedEventArgs class.
public PageSelectionChangedEventArgs(Avalonia.Controls.Page previousPage, Avalonia.Controls.Page currentPage)
Parameters
previousPage Avalonia.Controls.Page
The page that was selected before the change, or if no page was selected.
currentPage Avalonia.Controls.Page
The page that is now selected, or if selection was cleared.
Properties
| Name | Description |
|---|---|
| CurrentPage | Gets the page that is now selected. |
| PreviousPage | Gets the page that was selected before the change. |
CurrentPage Property
Gets the page that is now selected.
public Avalonia.Controls.Page CurrentPage { get; set; }
PreviousPage Property
Gets the page that was selected before the change.
public Avalonia.Controls.Page PreviousPage { get; set; }