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
pageCountint
Properties
CanTurnBackward
public bool CanTurnBackward { get; }
Property Value
CanTurnForward
public bool CanTurnForward { get; }
Property Value
LeftPageIndex
public int LeftPageIndex { get; }
Property Value
PageCount
public int PageCount { get; }
Property Value
RightPageIndex
public int? RightPageIndex { get; }
Property Value
- int?
SpreadIndex
public int SpreadIndex { get; }
Property Value
Methods
TryCommit(PageTurnDirection)
public bool TryCommit(PageTurnDirection direction)
Parameters
directionPageTurnDirection
Returns
Events
SpreadChanged
public event EventHandler? SpreadChanged