ClassFixedDocumentSinglePageViewPresenter
Definition
Namespace:Telerik.UI.Xaml.Controls.PdfViewer
Assembly:Telerik.WinUI.Controls.PdfViewer.dll
Syntax:
public class FixedDocumentSinglePageViewPresenter : FixedDocumentPresenterBase, IFixedDocumentPresenter
Inheritance: objectFixedDocumentPresenterBaseFixedDocumentSinglePageViewPresenter
Implements:
Inherited Members
Constructors
FixedDocumentSinglePageViewPresenter()
Initializes a new instance of the FixedDocumentSinglePageViewPresenter class.
Declaration
public FixedDocumentSinglePageViewPresenter()
Properties
CurrentPageNo
Gets the current page number.
Declaration
protected override int CurrentPageNo { get; }
Property Value
The current page number.
Overrides
PagesLayoutManager
Gets the pages layout manager.
Declaration
protected override PagesLayoutManagerBase PagesLayoutManager { get; }
Property Value
The pages layout manager.
Overrides
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a object.
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
arrangeBounds
Size
The computed size that is used to arrange the content.
Returns
Size
The size of the control.
DoOnScaleFactorChangedOverride(double, double)
Does the on scale factor changed.
GetLocationFromViewPoint(Point, out RadFixedPage, out Point)
Gets the location from view point.
Declaration
public override bool GetLocationFromViewPoint(Point positionInView, out RadFixedPage page, out Point location)
Parameters
positionInView
Point
The position in view.
page
RadFixedPage
The page.
location
Point
The location.
Returns
Overrides
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the -derived class.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
constraint
Size
Returns
Size
The size that this element determines it needs during layout, based on its calculations of child element sizes.
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnCurrentPageChanged(RadFixedPage)
Called when current page is changed.
Declaration
protected void OnCurrentPageChanged(RadFixedPage page)
Parameters
page
RadFixedPage
The page.
UpdateScrollOffsetFromPosition(TextPosition)
Updates the scroll offset from position.
Declaration
protected override void UpdateScrollOffsetFromPosition(TextPosition position)
Parameters
position
TextPosition
The position.
Overrides
Events
CurrentPageChanged
Occurs when current page is changed.
Declaration
public event EventHandler<CurrentPageChangedEventArgs> CurrentPageChanged
Event Value