CanSplitCells Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Returns true, if the currently selected table cells are merged.
Syntax
public bool CanSplitCells { get; }Public ReadOnly Property CanSplitCells As BooleanExamples
The following example merges two cells and then checks whether the selected merged cell can be split again.
textControl.Tables.Add(2, 2, 10);
Table table = textControl.Tables.GetItem(10);
table.Select(1, 1, 1, 2);
table.MergeCells();
table.Select(1, 1, 1, 1);
if (table.CanSplitCells)
{
table.SplitCells();
}textControl.Tables.Add(2, 2, 10)
Dim table As Table = textControl.Tables.GetItem(10)
table.Select(1, 1, 1, 2)
table.MergeCells()
table.Select(1, 1, 1, 1)
If table.CanSplitCells Then
table.SplitCells()
End IfLimitations
Read only.