Class DocumentPagePresenter
Inheritance
Inherited Members
Namespace: Telerik.WinControls.RichTextEditor.UI
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class DocumentPagePresenter : ContentControl, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IUILayerContainer
Constructors
DocumentPagePresenter()
Declaration
public DocumentPagePresenter()
Properties
Caret
CaretTextInputHandler
Gets the input handler of the caret.
Declaration
public CaretTextInputHandler CaretTextInputHandler { get; }
Property Value
CaretTextInputHandler
|
IsFocusable
Declaration
public override bool IsFocusable { get; set; }
Property Value
System.Boolean
|
Overrides
Owner
Gets the owner of this presenter.
Declaration
public IDocumentEditorPresenterContainer Owner { get; }
Property Value
IDocumentEditorPresenterContainer
|
Implements
PageCanvas
Gets the canvas element of this page.
Declaration
public Panel PageCanvas { get; }
Property Value
Panel
|
SectionBoxIndex
Gets or sets the current page number.
Declaration
public int SectionBoxIndex { get; set; }
Property Value
System.Int32
|
UILayers
Gets the UI layers of this page.
Declaration
public UILayerStack UILayers { get; }
Property Value
UILayerStack
|
Implements
ViewportRectangle
Gets or sets the viewport rectangle of the presenter.
Declaration
public RectangleF ViewportRectangle { get; set; }
Property Value
RectangleF
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
FocusCaret()
Focuses the caret.
Declaration
public void FocusCaret()
GetInvalidateBounds()
Returns the bounds of the area that should be invalidated when the element is invalidated.
Declaration
public override Rectangle GetInvalidateBounds()
Returns
System.Drawing.Rectangle
The bounds to invalidate. |
Overrides
HitTest(Point)
Gets a value indicating whether the provided point is inside the bounding rectangle of the presenter.
Declaration
public override bool HitTest(Point point)
Parameters
System.Drawing.Point
point
The point to test. |
Returns
System.Boolean
true if the point is inside the bounds of the presenter, otherwise false. |
Overrides
IsLayerSupported(IUILayer)
Gets a value indicating whether the provided layer is supported in this presenter.
Declaration
public bool IsLayerSupported(IUILayer layer)
Parameters
IUILayer
layer
The layer to check for support. |
Returns
System.Boolean
true if the layer is supported, otherwise false. |
Implements
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnLoaded()
SetKeyboardSelectionHandler(KeyboardSelectionHandler)
Changes the current keyboard selection handler with the provided one.
Declaration
public void SetKeyboardSelectionHandler(KeyboardSelectionHandler keyboardSelectionHandler)
Parameters
KeyboardSelectionHandler
keyboardSelectionHandler
The new keyboard selection handler. |
SetMouseSelectionHandler(MouseSelectionHandler)
Changes the current mouse selection handler with the provided one.
Declaration
public void SetMouseSelectionHandler(MouseSelectionHandler mouseSelectionHandler)
Parameters
MouseSelectionHandler
mouseSelectionHandler
The new mouse selection handler. |
UpdateCaretSize()
Updates the caret size according to the current span style.
Declaration
public void UpdateCaretSize()