CanParagraphFormat Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Informs whether the currently selected text can be formatted with paragraph formatting attributes. The property's value depends on the DocumentPermissions.AllowFormatting property and the currently set edit mode.
Syntax
public bool CanParagraphFormat { get; }Public ReadOnly Property CanParagraphFormat As BooleanExamples
The following example checks the can paragraph format state before recording the object's current status.
if (textControl.CanParagraphFormat)
{
Console.WriteLine("Text Control is ready for this operation.");
}If textControl.CanParagraphFormat Then
Console.WriteLine("Text Control is ready for this operation.")
End IfLimitations
Runtime only.
Read only.