TextPart
Class
Measures the text content of a LightVisualElement for composite layout.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class TextPart : VisualElementLayoutPart, IVisualLayoutPart
Inheritance: objectVisualElementLayoutPartTextPart
Implements:
Inherited Members
Constructors
Initializes the text part with the element whose text it measures.
C#
public TextPart(LightVisualElement owner)
The element that provides text, formatting, and measurement behavior.
Methods
Measures the owner's text when text drawing is enabled and clamps the result to the available size.