Class PageSpreadNavigationState

Namespace
PageCurl.Core
Assembly
PageCurl.Core.dll

Tracks two-page spreads with one shared completion path.

public sealed class PageSpreadNavigationState
Inheritance
PageSpreadNavigationState
Inherited Members

Constructors

PageSpreadNavigationState(int)

public PageSpreadNavigationState(int pageCount)

Parameters

pageCount int

Properties

CanTurnBackward

public bool CanTurnBackward { get; }

Property Value

bool

CanTurnForward

public bool CanTurnForward { get; }

Property Value

bool

LeftPageIndex

public int LeftPageIndex { get; }

Property Value

int

PageCount

public int PageCount { get; }

Property Value

int

RightPageIndex

public int? RightPageIndex { get; }

Property Value

int?

SpreadIndex

public int SpreadIndex { get; }

Property Value

int

Methods

TryCommit(PageTurnDirection)

public bool TryCommit(PageTurnDirection direction)

Parameters

direction PageTurnDirection

Returns

bool

Events

SpreadChanged

public event EventHandler? SpreadChanged

Event Type

EventHandler