Class FixedDocumentSinglePageViewPresenter
Represents fixed document single page view presenter.
Inherited Members
Namespace: Telerik.Windows.Documents.UI
Assembly: Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax
public class FixedDocumentSinglePageViewPresenter : FixedDocumentPresenterBase, IFixedDocumentPresenter
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
System.Int32
The current page number. |
Overrides
PagesLayoutManager
Gets the pages layout manager.
Declaration
protected override PagesLayoutManagerBase PagesLayoutManager { get; }
Property Value
PagesLayoutManagerBase
The pages layout manager. |
Overrides
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a System.Windows.Controls.Control object.
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
System.Windows.Size
arrangeBounds
The computed size that is used to arrange the content. |
Returns
System.Windows.Size
The size of the control. |
Overrides
DoOnScaleFactorChangedOverride(Double, Double)
Does the on scale factor changed.
Declaration
protected override void DoOnScaleFactorChangedOverride(double oldScaleFactor, double newScaleFactor)
Parameters
System.Double
oldScaleFactor
The old scale factor. |
System.Double
newScaleFactor
The new scale factor. |
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
System.Windows.Point
positionInView
The position in view. |
Telerik.Windows.Documents.Fixed.Model.RadFixedPage
page
The page. |
System.Windows.Point
location
The location. |
Returns
System.Boolean
|
Overrides
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
System.Windows.Size
constraint
|
Returns
System.Windows.Size
The size that this element determines it needs during layout, based on its calculations of child element sizes. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.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
Telerik.Windows.Documents.Fixed.Text.TextPosition
position
The position. |