Skip to main content

DeleteTableColumnAction Class

Definition​

Assembly:Avalonia.Controls.RichTextEditor
Package:Avalonia.Controls.RichTextEditor

Action for deleting the column at the current cell's index from a Avalonia.Controls.Documents.Table.

public class DeleteTableColumnAction

Inheritance: object -> EditorAction -> 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​

NameDescription
DeleteTableColumnActionNo summary available.

DeleteTableColumnAction Constructor​

public DeleteTableColumnAction()

Methods​

NameDescription
CanExecuteNo summary available.
ExecuteNo summary available.
ExecuteAsyncExecutes the action asynchronously. Inherited from EditorAction.
GetStateGets 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​

host Avalonia.Controls.Documents.Primitives.ITextEditorHost

Properties​

NameDescription
DisplayNameNo summary available.
GestureGets the optional keyboard gesture for this action. Inherited from EditorAction.
IdNo summary available.

DisplayName Property​

public string DisplayName { get; set; }

Id Property​

public string Id { get; set; }