PageContext Struct
Definition
The page a band host presents: the one-based page number and the page count. Set on a host by the paged view and inherited by the views inside it, so page-number fields resolve per page.
public struct PageContext
Constructors
| Name | Description |
|---|---|
| PageContext | The page a band host presents: the one-based page number and the page count. Set on a host by the paged view and inherited by the views inside it, so page-number fields resolve per page. |
PageContext Constructor
The page a band host presents: the one-based page number and the page count. Set on a host by the paged view and inherited by the views inside it, so page-number fields resolve per page.
public PageContext(int PageNumber, int PageCount)
Parameters
PageNumber int
PageCount int
Methods
| Name | Description |
|---|---|
| Deconstruct | No summary available. |
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Deconstruct Method
public void Deconstruct(int& PageNumber, int& PageCount)
Parameters
PageNumber int&
PageCount int&
Equals overloads
Equals Method
public bool Equals(Avalonia.Controls.Documents.Primitives.PageContext other)
Parameters
other Avalonia.Controls.Documents.Primitives.PageContext
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| PageCount | No summary available. |
| PageNumber | No summary available. |
PageCount Property
public int PageCount { get; set; }
PageNumber Property
public int PageNumber { get; set; }