Class UIElementLayoutBox
Represents a box that lays out a UI element in the Telerik Documents layout system.
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class UIElementLayoutBox : InlineLayoutBox
Constructors
UIElementLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public UIElementLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Parameters
DocumentElement
parentElement
|
DocumentStructureCollection
collection
|
Properties
AssociatedUIElementInline
Gets the associated UI element inline for the layout box.
Declaration
public InlineUIContainer AssociatedUIElementInline { get; set; }
Property Value
InlineUIContainer
|
BaselineOffset
Gets the baseline offset of the UI element layout box, which represents the distance between the baseline of the text and the top edge of the layout box.
Declaration
public override float BaselineOffset { get; }
Property Value
System.Single
|
Overrides
CanCreateLayoutBoxesFromContent
Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.Boolean
|
Overrides
HasWidthAtTheEndOfLine
Indicates whether the UI element has a defined width at the end of the line.
Declaration
public override bool HasWidthAtTheEndOfLine { get; }
Property Value
System.Boolean
|
Overrides
IsReadonly
Gets a value indicating whether the UI element layout box is in a read-only state.
Declaration
public override bool IsReadonly { get; }
Property Value
System.Boolean
|
Overrides
IsSplittable
Gets a value indicating whether the UI element layout box can be split.
Declaration
public override bool IsSplittable { get; }
Property Value
System.Boolean
|
Overrides
PositionsCountInBox
Gets the count of positions within the layout box. This value indicates how many layout positions are available for elements contained in the box.
Declaration
public override int PositionsCountInBox { get; }
Property Value
System.Int32
|
Overrides
Text
Represents the text content of a UI element layout box in Telerik's document framework.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Methods
CreateLayoutElement()
Creates a new layout element based on the current configuration.
Declaration
public override LayoutElement CreateLayoutElement()
Returns
LayoutElement
A new instance of a layout element that represents the configured UI component. |
Overrides
GetUIElement()
Retrieves the UI element associated with the layout box.
Declaration
public UIElement GetUIElement()
Returns
System.Windows.UIElement
The UI element that is represented by the current instance of the layout box. |
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
SizeF
availableSize
|
Returns
SizeF
|
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
System.String
A string representation of the current UIElementLayoutBox instance. |