TextFrames Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a collection of all text frames contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type TextFrameCollection. If a text frame contains further text frames, the inner frames are not contained in this collection.
Syntax
public TextFrameCollection TextFrames { get; }Public ReadOnly Property TextFrames As TextFrameCollectionExamples
The following example iterates through the text frames collection and processes each text frame.
foreach (TextFrame textFrame in textControl.TextFrames)
{
textFrame.DescriptiveText = "Quarterly results";
}For Each textFrame As TextFrame In textControl.TextFrames
textFrame.DescriptiveText = "Quarterly results"
NextLimitations
Runtime only.
Read only.