DeleteTableRowAction Class
Definition
Action for deleting the current row from a Avalonia.Controls.Documents.Table.
public class DeleteTableRowAction
Remarks
If the deleted row is the last row in the only row group, the entire table is removed.
Constructors
| Name | Description |
|---|---|
| DeleteTableRowAction | No summary available. |
DeleteTableRowAction Constructor
public DeleteTableRowAction()
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; }