TX Text Control .NET for Windows Forms

CanTableFormat Property

Property|Introduced in 25.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Informs whether the currently selected text can be formatted with table formatting attributes. The property's value depends on the DocumentPermissions.AllowFormatting property and the currently set edit mode.

Syntax

public bool CanTableFormat { get; }

Examples

The following example checks the can table format state before recording the object's current status.

if (textControl.CanTableFormat)
{
    Console.WriteLine("Text Control is ready for this operation.");
}

Limitations

Runtime only.

Read only.