MergeTableCellsAction Class
Definition
Action for merging the table cells covered by the current selection into a single spanned cell.
public class MergeTableCellsAction
Remarks
The covered cells grow to the smallest rectangle of whole cells (a partial overlap pulls the whole cell in, matching Word). The top-left cell keeps the combined content, appended in row-major order, and takes the rectangle's column and row span.
Constructors
| Name | Description |
|---|---|
| MergeTableCellsAction | No summary available. |
MergeTableCellsAction Constructor
public MergeTableCellsAction()
Methods
| Name | Description |
|---|---|
| CanExecute | No summary available. |
| Execute | No summary available. |
| ExecuteAsync | Executes the action asynchronously. Inherited from EditorAction. |
| GetState | Gets the current state of the action. Inherited from EditorAction. |
CanExecute Method
public bool CanExecute(Avalonia.Controls.Documents.Primitives.ITextEditorHost host)
Parameters
host Avalonia.Controls.Documents.Primitives.ITextEditorHost
Returns
bool
Execute Method
public void Execute(Avalonia.Controls.Documents.Primitives.ITextEditorHost host)
Parameters
Properties
| Name | Description |
|---|---|
| DisplayName | No summary available. |
| Gesture | Gets the optional keyboard gesture for this action. Inherited from EditorAction. |
| Id | No summary available. |
DisplayName Property
public string DisplayName { get; set; }
Id Property
public string Id { get; set; }