ClassSpanLayoutBox
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class SpanLayoutBox : InlineLayoutBox, IDisposable, ICustomTypeDescriptor, INotifyPropertyChanged
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxInlineLayoutBoxSpanLayoutBox
Derived Classes:
Implements:
Inherited Members
Constructors
SpanLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Parameters
parentElement
collection
SpanLayoutBox(DocumentElement, DocumentStructureCollection, bool)
Declaration
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, bool isFragment)
Parameters
parentElement
collection
isFragment
SpanLayoutBox(DocumentElement, DocumentStructureCollection, string)
Declaration
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, string text)
Parameters
parentElement
collection
text
Properties
BaselineOffset
Declaration
public override float BaselineOffset { get; }
Property Value
Overrides
CanCreateLayoutBoxesFromContent
Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
Overrides
HasWidthAtTheEndOfLine
Declaration
public override bool HasWidthAtTheEndOfLine { get; }
Property Value
Overrides
IsContainerBox
Declaration
public override bool IsContainerBox { get; }
Property Value
Overrides
IsReadonly
Declaration
public override bool IsReadonly { get; }
Property Value
Overrides
IsSplittable
Declaration
public override bool IsSplittable { get; }
Property Value
Overrides
PositionsCountInBox
Declaration
public override int PositionsCountInBox { get; }
Property Value
Overrides
Methods
CreateLayoutElement()
Declaration
public override LayoutElement CreateLayoutElement()
Returns
Overrides
CreateSpanLayoutBox(DocumentElement, DocumentStructureCollection, string)
Declaration
public static SpanLayoutBox CreateSpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, string text)
Parameters
parentElement
collection
text
Returns
GetPositionHandler()
Declaration
public override PositionHandler GetPositionHandler()
Returns
Overrides
InvalidateTextMeasure()
Declaration
public void InvalidateTextMeasure()
MeasureOverride(SizeF)
Measures the space required by the LayoutElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
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.
MeasureTextOverride(SubStringPosition)
Declaration
protected virtual BoxMeasurementInfo MeasureTextOverride(SubStringPosition subStringPosition = SubStringPosition.None)
Parameters
subStringPosition
Returns
MergeWithNext(LayoutBox)
Declaration
public override void MergeWithNext(LayoutBox nextSpanBox)
Parameters
nextSpanBox
Overrides
OnAssociateDocumentElementChanged()
Declaration
protected override void OnAssociateDocumentElementChanged()
Overrides
OnPropertyChanged(string)
Declaration
protected virtual void OnPropertyChanged(string propName)
Parameters
propName
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements