SpanLayoutBox
Class
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class SpanLayoutBox : InlineLayoutBox, IDisposable, ICustomTypeDescriptor, INotifyPropertyChanged
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxInlineLayoutBoxSpanLayoutBox...
Derived Classes:
Implements:
Inherited Members
Constructors
C#
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, bool isFragment)
C#
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, string text)
C#
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Properties
C#
public Span AssociatedSpan { get; set; }
C#
public override float BaselineOffset { get; }
Overrides:
C#
protected override bool CanCreateLayoutBoxesFromContent { get; }
Overrides:
C#
public SizeF DesiredTextSize { get; }
C#
public override bool HasWidthAtTheEndOfLine { get; }
Overrides:
C#
public override bool IsContainerBox { get; }
Overrides:
C#
public bool IsParagraphSymbol { get; }
C#
public override bool IsReadonly { get; }
Overrides:
C#
public override bool IsSplittable { get; }
Overrides:
C#
public override int PositionsCountInBox { get; }
Overrides:
Methods
C#
public static SpanLayoutBox CreateSpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, string text)
C#
public void InvalidateTextMeasure()
Measures the space required by the LayoutElement Used by the layout system.
C#
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the LayoutElement. 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:
Remarks:
In this method call to the Measure method of each child must be made.
C#
protected virtual BoxMeasurementInfo MeasureTextOverride(SubStringPosition subStringPosition = SubStringPosition.None)
C#
public override void MergeWithNext(LayoutBox nextSpanBox)
Overrides:
C#
protected override void OnAssociateDocumentElementChanged()
Overrides:
Events
C#
public event PropertyChangedEventHandler PropertyChanged
Implements: