Class SpanLayoutBox
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents.dll
Syntax
public class SpanLayoutBox : InlineLayoutBox, INotifyPropertyChanged
Constructors
SpanLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Parameters
DocumentElement
parentElement
|
DocumentStructureCollection
collection
|
SpanLayoutBox(DocumentElement, DocumentStructureCollection, Boolean)
Declaration
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, bool isFragment)
Parameters
DocumentElement
parentElement
|
DocumentStructureCollection
collection
|
System.Boolean
isFragment
|
SpanLayoutBox(DocumentElement, DocumentStructureCollection, String)
Declaration
public SpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, string text)
Parameters
DocumentElement
parentElement
|
DocumentStructureCollection
collection
|
System.String
text
|
Properties
AssociatedSpan
BaselineOffset
Declaration
public override float BaselineOffset { get; }
Property Value
System.Single
|
Overrides
CanCreateLayoutBoxesFromContent
Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.Boolean
|
Overrides
DesiredTextSize
HasWidthAtTheEndOfLine
Declaration
public override bool HasWidthAtTheEndOfLine { get; }
Property Value
System.Boolean
|
Overrides
IsContainerBox
Declaration
public override bool IsContainerBox { get; }
Property Value
System.Boolean
|
Overrides
IsDecimal
Declaration
public bool IsDecimal { get; set; }
Property Value
System.Boolean
|
IsParagraphSymbol
Declaration
public bool IsParagraphSymbol { get; }
Property Value
System.Boolean
|
IsReadonly
Declaration
public override bool IsReadonly { get; }
Property Value
System.Boolean
|
Overrides
IsSplittable
Declaration
public override bool IsSplittable { get; }
Property Value
System.Boolean
|
Overrides
PositionsCountInBox
Declaration
public override int PositionsCountInBox { get; }
Property Value
System.Int32
|
Overrides
Text
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Methods
ContainsFormattingSymbol(String)
Declaration
public static bool ContainsFormattingSymbol(string text)
Parameters
System.String
text
|
Returns
System.Boolean
|
CreateLayoutElement()
CreateNewFragment(Single, Boolean)
Declaration
public override LayoutBox CreateNewFragment(float availableWidth, bool isFirstBoxInLine)
Parameters
System.Single
availableWidth
|
System.Boolean
isFirstBoxInLine
|
Returns
LayoutBox
|
Overrides
CreateSpanLayoutBox(DocumentElement, DocumentStructureCollection, String)
Declaration
public static SpanLayoutBox CreateSpanLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection, string text)
Parameters
DocumentElement
parentElement
|
DocumentStructureCollection
collection
|
System.String
text
|
Returns
SpanLayoutBox
|
GetPositionHandler()
InvalidateTextMeasure()
Declaration
public void InvalidateTextMeasure()
IsWordStart()
Declaration
public bool IsWordStart()
Returns
System.Boolean
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
SizeF
availableSize
|
Returns
SizeF
|
Overrides
MeasureTextOverride(SubStringPosition)
Declaration
protected virtual BoxMeasurementInfo MeasureTextOverride(SubStringPosition subStringPosition)
Parameters
Telerik.Windows.Documents.Core.TextMeasurer.SubStringPosition
subStringPosition
|
Returns
BoxMeasurementInfo
|
MergeWithNext(LayoutBox)
Declaration
public override void MergeWithNext(LayoutBox nextSpanBox)
Parameters
LayoutBox
nextSpanBox
|
Overrides
OnAssociateDocumentElementChanged()
Declaration
protected override void OnAssociateDocumentElementChanged()
Overrides
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propName)
Parameters
System.String
propName
|
SplitSpanByIndex(Int32, Boolean)
Declaration
public void SplitSpanByIndex(int splitIndex, bool isBefore)
Parameters
System.Int32
splitIndex
|
System.Boolean
isBefore
|
ToString()
Update(String)
Declaration
public void Update(string text)
Parameters
System.String
text
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|