ClassFixedDocumentPagesPresenter
Represents fixed document with pages.
Definition
Namespace:Telerik.Windows.Documents.UI
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax:
public class FixedDocumentPagesPresenter : FixedDocumentPresenterBase, IFixedDocumentPresenter
Inheritance: objectFixedDocumentPresenterBaseFixedDocumentPagesPresenter
Implements:
Inherited Members
Constructors
FixedDocumentPagesPresenter()
Initializes a new instance of the FixedDocumentPagesPresenter class.
Declaration
public FixedDocumentPagesPresenter()
Properties
CurrentPageLayoutInfo
Gets or sets the current page layout info.
Declaration
protected FixedPageLayoutInfo CurrentPageLayoutInfo { get; set; }
Property Value
The current page layout info.
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
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 override.
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