ParagraphFormat Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the paragraph formatting attributes of the text displayed by the control. The property value is an object of the type ParagraphFormat. For more information see the description of the ParagraphFormat class.
Syntax
public ParagraphFormat ParagraphFormat { get; set; }Public Property ParagraphFormat As ParagraphFormatExamples
The following example uses TextControl.ParagraphFormat to configure paragraph format as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.ParagraphFormat = new ParagraphFormat();
if (textControl.ParagraphFormat != null)
{
Console.WriteLine("Text Control: Paragraph Format is available.");
}textControl.ParagraphFormat = New ParagraphFormat()
If textControl.ParagraphFormat IsNot Nothing Then
Console.WriteLine("Text Control: Paragraph Format is available.")
End If