New to Telerik UI for WPFStart a free 30-day trial

Represents fixed document single page view presenter.

Definition

Namespace:Telerik.Windows.Documents.UI

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

C#
public class FixedDocumentSinglePageViewPresenter : FixedDocumentPresenterBase, IFixedDocumentPresenter

Inheritance: objectFixedDocumentPresenterBaseFixedDocumentSinglePageViewPresenter

Implements: IFixedDocumentPresenter

Inherited Members FixedDocumentPresenterBase.PageUp()FixedDocumentPresenterBase.PageDown()FixedDocumentPresenterBase.GoToPage(int)FixedDocumentPresenterBase.GoToDestination(Destination)FixedDocumentPresenterBase.GetViewPointFromLocation(RadFixedPage, Point, out Point)FixedDocumentPresenterBase.ShowSelectionMarkers()FixedDocumentPresenterBase.HideSelectionMarkers()FixedDocumentPresenterBase.UpdatePresenterLayout()FixedDocumentPresenterBase.Initialize(IFixedDocumentViewer)FixedDocumentPresenterBase.Initialize(IFixedDocumentViewer, IFixedDocumentPresenter)FixedDocumentPresenterBase.Release()FixedDocumentPresenterBase.ReleaseOverride()FixedDocumentPresenterBase.UpdateScrollBars(Size)FixedDocumentPresenterBase.ReleasePagePresenter(int)FixedDocumentPresenterBase.GetPagePresenter(FixedPageLayoutInfo)FixedDocumentPresenterBase.OnCurrentPageChanged(RadFixedPage)FixedDocumentPresenterBase.OnMouseWheel(MouseWheelEventArgs)FixedDocumentPresenterBase.OnMouseLeftButtonDown(MouseButtonEventArgs)FixedDocumentPresenterBase.OnMouseLeftButtonUp(MouseButtonEventArgs)FixedDocumentPresenterBase.OnMouseMove(MouseEventArgs)FixedDocumentPresenterBase.OnLostMouseCapture(MouseEventArgs)FixedDocumentPresenterBase.GetFocusedPresenter()FixedDocumentPresenterBase.CurrentPageFixedDocumentPresenterBase.PointerHandlersControllerFixedDocumentPresenterBase.OwnerFixedDocumentPresenterBase.VisiblePagesCacheOffsetFixedDocumentPresenterBase.VisiblePresentersFixedDocumentPresenterBase.ReleasedPresentersFixedDocumentPresenterBase.LayoutRootFixedDocumentPresenterBase.ShouldShowSelectionMarkersFixedDocumentPresenterBase.ViewportSizeFixedDocumentPresenterBase.VisiblePagesFixedDocumentPresenterBase.CurrentPageChanged...

Constructors

Initializes a new instance of the FixedDocumentSinglePageViewPresenter class.

C#
public FixedDocumentSinglePageViewPresenter()

Properties

Gets the current page number.

C#
protected override int CurrentPageNo { get; }
Property Value:

The current page number.

Overrides: FixedDocumentPresenterBase.CurrentPageNo

Gets the pages layout manager.

C#
protected override PagesLayoutManagerBase PagesLayoutManager { get; }
Property Value:

The pages layout manager.

Overrides: FixedDocumentPresenterBase.PagesLayoutManager

Methods

Called to arrange and size the content of a Control object.

C#
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters:arrangeBoundsSize

The computed size that is used to arrange the content.

Returns:

Size

The size of the control.

Overrides: FixedDocumentPresenterBase.ArrangeOverride(Size)

Does the on scale factor changed.

C#
protected override void DoOnScaleFactorChangedOverride(double oldScaleFactor, double newScaleFactor)
Parameters:oldScaleFactordouble

The old scale factor.

newScaleFactordouble

The new scale factor.

Overrides: FixedDocumentPresenterBase.DoOnScaleFactorChangedOverride(double, double)

Gets the location from view point.

C#
public override bool GetLocationFromViewPoint(Point positionInView, out RadFixedPage page, out Point location)
Parameters:positionInViewPoint

The position in view.

pageRadFixedPage

The page.

locationPoint

The location.

Returns:

bool

Overrides: FixedDocumentPresenterBase.GetLocationFromViewPoint(Point, out RadFixedPage, out Point)

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

C#
protected override Size MeasureOverride(Size constraint)
Parameters:constraintSizeReturns:

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Releases the document resources.

C#
protected override void ReleaseDocumentResourcesOverride()

Overrides: FixedDocumentPresenterBase.ReleaseDocumentResourcesOverride()

Updates the scroll offset from position.

C#
protected override void UpdateScrollOffsetFromPosition(TextPosition position)
Parameters:positionTextPosition

The position.

Overrides: FixedDocumentPresenterBase.UpdateScrollOffsetFromPosition(TextPosition)