TX Text Control .NET for WPF

InlineStyles Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

The following example iterates through the inline styles collection and processes each inline style.

foreach (InlineStyle inlineStyle in textControl.InlineStyles)
{
    inlineStyle.Name = "CustomerName";
}

Limitations

Runtime only.

Read only.