Break
Represents a break element in RadDocument content.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public sealed class Break : Span
Inheritance: objectDocumentElementInlineSpanBreak
Inherited Members
Constructors
Properties
Methods
Creates a new span which is a copy of the contents between the start of the current instance and a specified end position.
This method returns null when invoked for Break elements.
public override Inline CopyFromStartOfInlineToEndPosition(DocumentPosition endPosition)
The end position.
Returns:null for Break objects.
Overrides:
Copies the properties from another document element to the current instance.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
From element.
Overrides:
Creates a deep copy of the element.
public override DocumentElement CreateDeepCopy()
The copied element.
Overrides:
Creates a LayoutBox for this element.
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
The document collection.
Returns: Exceptions:Unknown break type.
Overrides:
Creates a shallow copy of the element.
public override DocumentElement CreateShallowCopy()
The copied element.
Overrides:
Determines whether the element has the same style as another Span. This method always returns false when used with a Break element.
public override bool HasSameStyle(Span other, bool compareFlowDirection = false, bool ignoreStyle = false)
The other.
compareFlowDirectionboolif set to true the FlowDirection is compared as well.
if set to true the name of the style applied to the spans is not compared.
This method always returns false when used with a Break element.
Overrides: