Back to API Reference
Class

TextFormattingBehavior.FormatCommand

sealed
public string Name{ get; set }

Stable command name used by toolbar and context-menu calls.

public IFormatStyleSource Target{ get; set }

Style source toggled by this command.

public NativeKeyCode Key{ get; set }

Shortcut key combined with the platform primary modifier.

public bool Shift{ get; set }

Whether the shortcut additionally requires Shift.