Definition
Namespace:Telerik.WinForms.Documents.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DocumentPrintPresenter : ContentControl, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IDocumentEditorPresenter, IDisposable, IUILayerContainer
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementContentControlDocumentPrintPresenter...
Implements:
Inherited Members
Constructors
Properties
This property is used internally!
public override bool IsFocusable { get; set; }
Overrides:
public bool IsPrinting { get; set; }
public RadRichTextBox Owner { get; set; }
Implements:
public PrintSettings Settings { get; set; }
public UILayerStack UILayers { get; }
Implements:
Methods
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF finalSize)
The size that is available for element.
Returns:The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides:
In this method call to the Arrange method of each child must be made.
public void DoOnDocumentChanged()
Implements:
public void DoOnDocumentChanging()
Implements:
public void FocusCaret()
Implements:
public DocumentPosition GetDocumentPositionFromViewPoint(Point viewPoint)
Implements:
public Point GetViewPointFromDocumentPosition(DocumentPosition position)
Implements:
public void HideCaret()
Implements:
public void HideDropMarker()
Implements:
Measures the space required by the RadElement
Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
public void MoveDropMarker(DocumentPosition position)
Implements:
public void PrintPage(Graphics graphics, int pageNumber, RectangleF drawArea)
public void RecreateUI()
Implements:
public void ShowCaret()
Implements:
public void ShowDropMarker(DocumentPosition position)
Implements:
public void UpdateCaretSize()
Implements:
public void UpdateProofingTextDecoration()
Implements:
Events
public event EventHandler<PrintCompletedEventArgs> PrintingCompleted
public event EventHandler PrintingStarted