Skip to main content

PageBandRule Enum

Definition​

Assembly:Avalonia.Controls.Documents
Package:Avalonia.Controls.Documents

Which pages a band claims by itself. A band with Avalonia.Controls.Documents.PageBandRule.None shows only where a section references it; the other rules place a band from the document's bands on the pages nothing explicit claims. The first band with a given role and rule is the one the rule places.

public enum PageBandRule

Inheritance: Enum -> PageBandRule

Fields​

NameDescription
DefaultEvery page nothing else claims: the running band, the odd pages under facing pages.
EvenPageEven pages nothing explicit claims. Its presence is what turns facing pages on; a role without an even band keeps its running band on even pages.
FirstPageThe document's first page.
NoneShown only where a section's reference names the band.

Default Field​

Every page nothing else claims: the running band, the odd pages under facing pages.

public Avalonia.Controls.Documents.PageBandRule Default

EvenPage Field​

Even pages nothing explicit claims. Its presence is what turns facing pages on; a role without an even band keeps its running band on even pages.

public Avalonia.Controls.Documents.PageBandRule EvenPage

FirstPage Field​

The document's first page.

public Avalonia.Controls.Documents.PageBandRule FirstPage

None Field​

Shown only where a section's reference names the band.

public Avalonia.Controls.Documents.PageBandRule None