menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CommandBase - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CommandBase

    Provides the base implementation for all the Command classes.

    Inheritance
    System.Object
    CommandBase
    AddToDictionaryCommand
    AfterSpacingCommand
    ApplyStyleCommand
    AutoFitTableCommand
    BaselineAlignmentCommand
    BeforeSpacingCommand
    BoldCommand
    CellBottomMarginCommand
    CellContentAlignmentCommand
    CellLeftMarginCommand
    CellRightMarginCommand
    CellSpacingCommand
    CellTopMarginCommand
    CellVerticalAlignmentCommand
    ChangeAllSpellingCommand
    ChangeSpellingCommand
    CheckSpellingCommand
    ClearFormattingCommand
    CopyCommand
    CopyHyperlinkCommand
    CutCommand
    DecreaseIndentCommand
    DefaultCellBottomMarginCommand
    DefaultCellLeftMarginCommand
    DefaultCellRightMarginCommand
    DefaultCellTopMarginCommand
    DeleteAllCommentsCommand
    DeleteColumnCommand
    DeleteCommentCommand
    DeleteRowCommand
    DeleteTableCommand
    FirstLineIndentCommand
    FontColorCommand
    FontFamilyCommand
    FontSizeCommand
    HighlightColorCommand
    IgnoreAllSpellingErrorsCommand
    IncreaseIndentCommand
    InsertBreakCommand
    InsertColumnCommand
    InsertHyperlinkCommand
    InsertPictureCommand
    InsertRowCommand
    InsertTableCommand
    ItalicCommand
    LayoutTypeCommand
    LeftIndentCommand
    LineSpacingCommand
    LineSpacingTypeCommand
    MergeSelectedCellsCommand
    NewCommentCommand
    NewDocumentCommand
    NextCommentCommand
    OpenDocumentCommand
    PageFitCommand
    PasteCommand
    PreviousCommentCommand
    PrintDocumentCommand
    RedoCommand
    RemoveHyperlinkCommand
    RightIndentCommand
    SaveAsDocumentCommand
    SaveDocumentCommand
    SelectAllCommand
    SelectCellCommand
    SelectColumnCommand
    SelectRowCommand
    SelectTableCommand
    ShowCommentsCommand
    ShowHyperlinkDialogCommand
    ShowOptionsPaneCommand
    ShowSpellingPaneCommand
    StrikeThroughCommand
    TableAlignmentCommand
    TableLeftIndentCommand
    TextAlignmentCommand
    UnderlineCommand
    UndoCommand
    Implements
    System.Windows.Input.ICommand
    Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
    Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
    Syntax
    public class CommandBase : Object, ICommand

    Constructors

    CommandBase(SfRichTextBoxAdv)

    Initializes a new instance of the CommandBase class for the specified SfRichTextBoxAdv.

    Declaration
    public CommandBase(SfRichTextBoxAdv richTextBoxAdv)
    Parameters
    Type Name Description
    SfRichTextBoxAdv richTextBoxAdv

    The SfRichTextBoxAdv instance to which the CommandBase is associated.

    Fields

    OwnerControl

    Gets or Sets the owner control of the command.

    Declaration
    public SfRichTextBoxAdv OwnerControl
    Field Value
    Type Description
    SfRichTextBoxAdv

    The SfRichTextBoxAdv instance to which the command is associated.

    Methods

    CanExecute(Object)

    Defines the method that determines whether the command can execute in its current state.

    Declaration
    public bool CanExecute(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    Data used by the command. If the command does not require data to be passed, this object can be set to null.

    Returns
    Type Description
    System.Boolean

    True if this command can be executed.

    CanExecuteCommand(Object)

    Defines the method that determines whether the command can execute in its current state.

    Declaration
    public virtual bool CanExecuteCommand(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    Data used by the command. If the command does not require data to be passed, this object can be set to null.

    Returns
    Type Description
    System.Boolean

    True if this command can be executed.

    Execute(Object)

    Defines the method to be called when the command is invoked.

    Declaration
    public void Execute(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    Data used by the command. If the command does not require data to be passed, this object can be set to null.

    ExecuteCommand(Object)

    Defines the method to be called when the command is invoked.

    Declaration
    protected virtual void ExecuteCommand(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    Data used by the command. If the command does not require data to be passed, this object can be set to null.

    Events

    CanExecuteChanged

    Occurs when changes occur that affect whether or not the command should execute.

    Declaration
    public event EventHandler CanExecuteChanged
    Event Type
    Type
    System.EventHandler

    Implements

    System.Windows.Input.ICommand

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved