DeleteTableColumnAction Class
Definition
Action for deleting the column at the current cell's index from a Avalonia.Controls.Documents.Table.
public class DeleteTableColumnAction
Remarks
Removes the Avalonia.Controls.Documents.TableColumn and the corresponding Avalonia.Controls.Documents.TableCell from every row. If it is the last column, the entire table is removed.
Constructors
| Name | Description |
|---|---|
| DeleteTableColumnAction | No summary available. |
DeleteTableColumnAction Constructor
public DeleteTableColumnAction()
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. |
| Id | No summary available. |
| Gesture | Gets the optional keyboard gesture for this action. Inherited from EditorAction. |
DisplayName Property
public string DisplayName { get; set; }
Id Property
public string Id { get; set; }