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
IsFocusable
Declaration
public override bool IsFocusable { get; set; }
Property Value
System.
|
Overrides
Owner
Gets the owner of this presenter.
Declaration
public IDocumentEditorPresenterContainer Owner { get; }
Property Value
Implements
PageCanvas
Gets the canvas element of this page.
Declaration
public Panel PageCanvas { get; }
Property Value
SectionBoxIndex
Gets or sets the current page number.
Declaration
public int SectionBoxIndex { get; set; }
Property Value
System.
|
UILayers
Gets the UI layers of this page.
Declaration
public UILayerStack UILayers { get; }
Property Value
Implements
ViewportRectangle
Gets or sets the viewport rectangle of the presenter.
Declaration
public RectangleF ViewportRectangle { get; set; }
Property Value
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
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. 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. The point to test. |
Returns
System. 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. true if the layer is supported, otherwise false. |
Implements
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnLoaded()
SetKeyboardSelectionHandler(KeyboardSelectionHandler)
Changes the current keyboard selection handler with the provided one.
Declaration
public void SetKeyboardSelectionHandler(KeyboardSelectionHandler keyboardSelectionHandler)
Parameters
Keyboard The new keyboard selection handler. |
SetMouseSelectionHandler(MouseSelectionHandler)
Changes the current mouse selection handler with the provided one.
Declaration
public void SetMouseSelectionHandler(MouseSelectionHandler mouseSelectionHandler)
Parameters
Mouse The new mouse selection handler. |
UpdateCaretSize()
Updates the caret size according to the current span style.
Declaration
public void UpdateCaretSize()