Class DocumentPrintLayoutPresenter
Inheritance
Inherited Members
Namespace: Telerik.WinControls.RichTextEditor.UI
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class DocumentPrintLayoutPresenter : DocumentPresenterBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IDocumentEditorPresenter, IDisposable
Constructors
DocumentPrintLayoutPresenter()
Declaration
public DocumentPrintLayoutPresenter()
Properties
Caret
IsFocusable
Gets a value indicating whether this presenter is focused.
Declaration
public override bool IsFocusable { get; set; }
Property Value
System.Boolean
|
Overrides
IsFocused
Gets or sets a value indicating whether this presenter can receive focus.
Declaration
public override bool IsFocused { get; }
Property Value
System.Boolean
|
Overrides
PagePresentersMargin
Gets or sets value corresponding to the margins between child page-presenters.
Declaration
public SizeF PagePresentersMargin { get; set; }
Property Value
SizeF
|
ScrollableHeight
Gets the height of the scroll bar view.
Declaration
public override double ScrollableHeight { get; }
Property Value
System.Double
|
Overrides
ScrollableWidth
Gets the width of the scroll bar view.
Declaration
public override double ScrollableWidth { get; }
Property Value
System.Double
|
Overrides
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
DoOnDocumentChanged()
Called after the owner document is changed.
Declaration
public override void DoOnDocumentChanged()
Overrides
DoOnDocumentChanging()
Called before the owner document is changed.
Declaration
public override void DoOnDocumentChanging()
Overrides
FocusCaret()
Focuses the caret.
Declaration
public override void FocusCaret()
Overrides
GetCurrentPage()
Gets the number of the current page.
Declaration
public override int GetCurrentPage()
Returns
System.Int32
An integer number representing the number of the current page. |
Overrides
GetCurrentSectionBoundsInViewOverride()
This method supports control infrastructure and is not intended for use directly from your code.
Declaration
protected override Rect GetCurrentSectionBoundsInViewOverride()
Returns
Rect
|
Overrides
GetDocumentPointFromViewPoint(Point)
Gets a Point in the document from a point of the viewport.
Declaration
public override Point GetDocumentPointFromViewPoint(Point viewPoint)
Parameters
Point
viewPoint
Point containing X and Y coordinates in the viewport. |
Returns
Point
A Point in the document. |
Overrides
GetDocumentPositionFromViewPoint(Point)
Gets a DocumentPosition from a Point in the viewport.
Declaration
public override DocumentPosition GetDocumentPositionFromViewPoint(Point viewPoint)
Parameters
Point
viewPoint
Point containing X and Y coordinates in the viewport. |
Returns
DocumentPosition
A DocumentPosition in the document. |
Overrides
GetDropPositionMarker()
Gets the drop marker for a drag and drop operation.
Declaration
protected override DropPositionMarker GetDropPositionMarker()
Returns
DropPositionMarker
A drop position marker. |
Overrides
GetFocusedPresenter()
Gets the currently focused page presenter.
Declaration
public DocumentPagePresenter GetFocusedPresenter()
Returns
DocumentPagePresenter
A page presenter for the currently focused page. |
GetViewPointFromDocumentPosition(DocumentPosition)
Gets a Point in the document from a DocumentPosition.
Declaration
public override Point GetViewPointFromDocumentPosition(DocumentPosition position)
Parameters
DocumentPosition
position
A DocumentPosition in the document. |
Returns
Point
A Point in the document. |
Overrides
HandlePageDown()
Called when the caret is moved a page down.
Declaration
public override void HandlePageDown()
Overrides
HandlePageUp()
Called when the caret is moved a page up.
Declaration
public override void HandlePageUp()
Overrides
HideCaret()
Hides the caret.
Declaration
public override void HideCaret()
Overrides
InvalidatePresenterArrangeOverride()
Called when an Invalidate arrange is made.
Declaration
protected override void InvalidatePresenterArrangeOverride()
Overrides
InvalidatePresenterMeasureOverride()
Called when an Invalidate measure is made.
Declaration
protected override void InvalidatePresenterMeasureOverride()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnOwnerChanging()
Called before the owner RadRichTextBox is cahnged.
Declaration
protected override void OnOwnerChanging()
Overrides
RecreateUI()
Forces a recreation of all UI elements.
Declaration
public override void RecreateUI()
Overrides
ScrollToNote(Note)
Scrolls the viewport so that the provided Note comes into view.
Declaration
public override void ScrollToNote(Note note)
Parameters
Note
note
The note to scroll to. |
Overrides
SetCaretBlinking(Boolean)
Sets a value indicating whether the caret is blinking or not.
Declaration
protected override void SetCaretBlinking(bool isBlinking)
Parameters
System.Boolean
isBlinking
true if the caret will be blinking, otherwise false. |
Overrides
ShowCaret()
Shows the caret.
Declaration
public override void ShowCaret()
Overrides
UpdateCaretSize()
Updates the caret size.
Declaration
public override void UpdateCaretSize()
Overrides
UpdateProofingTextDecoration()
Forces an update of the proofing UI layer.
Declaration
public override void UpdateProofingTextDecoration()
Overrides
UpdateScrollOffsetFromDocumentPosition(DocumentPosition)
Scrolls the viewport so that the provided DocumentPosition is brought into view.
Declaration
public override void UpdateScrollOffsetFromDocumentPosition(DocumentPosition documentPosition)
Parameters
DocumentPosition
documentPosition
The position to scroll to. |