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