InlineStyles Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Gets a collection of all inline styles the current document contains. The property's value is an object of the type InlineStyleCollection.
Syntax
public InlineStyleCollection InlineStyles { get; }Public ReadOnly Property InlineStyles As InlineStyleCollectionExamples
The following example iterates through the inline styles collection and processes each inline style.
foreach (InlineStyle inlineStyle in textControl.InlineStyles)
{
inlineStyle.Name = "CustomerName";
}For Each inlineStyle As InlineStyle In textControl.InlineStyles
inlineStyle.Name = "CustomerName"
NextLimitations
Runtime only.
Read only.