Skip to main content

SplitTableCellAction Class

Definition​

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

Action for splitting the merged cell at the caret back into its grid slots.

public class SplitTableCellAction

Inheritance: object -> EditorAction -> SplitTableCellAction

Remarks​

The cell keeps its top-left slot and all of its content; fresh empty cells cloning the cell's block formatting fill the columns and rows the spans covered.

Constructors​

NameDescription
SplitTableCellActionNo summary available.

SplitTableCellAction Constructor​

public SplitTableCellAction()

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; }