ClassFixedDocumentSinglePageViewPresenter
Represents fixed document single page view presenter.
Definition
Namespace:Telerik.Windows.Documents.UI
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.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 Control 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.
Overrides
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 FrameworkElement-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.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
ReleaseDocumentResourcesOverride()
Releases the document resources.
Declaration
protected override void ReleaseDocumentResourcesOverride()
Overrides
UpdateScrollOffsetFromPosition(TextPosition)
Updates the scroll offset from position.
Declaration
protected override void UpdateScrollOffsetFromPosition(TextPosition position)
Parameters
position
TextPosition
The position.
Overrides