menu

WPF

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

    Show / Hide Table of Contents

    Class DeleteShiftCellsLeftCommand

    Represents a class that which perform deleting the cells for ShiftCellsLeft operation.

    Inheritance
    System.Object
    CommandBase
    DeleteCommand
    DeleteShiftCellsLeftCommand
    Implements
    System.Windows.Input.ICommand
    Inherited Members
    CommandBase.CanExecute(Object)
    CommandBase.CanExecuteChanged
    CommandBase.CommandName
    CommandBase.Execute(Object)
    CommandBase.RaiseCanExecuteChanged()
    CommandBase.SfSpreadsheet
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.Commands
    Assembly: Syncfusion.SfSpreadsheet.WPF.dll
    Syntax
    public class DeleteShiftCellsLeftCommand : DeleteCommand, ICommand

    Constructors

    DeleteShiftCellsLeftCommand(SfSpreadsheet, String)

    Initializes a new instance of DeleteShiftCellsLeftCommand.

    Declaration
    public DeleteShiftCellsLeftCommand(SfSpreadsheet sfSpreadsheet, string commandName)
    Parameters
    Type Name Description
    SfSpreadsheet sfSpreadsheet

    The SfSpreadsheet Control.

    System.String commandName

    The name of the command.

    Methods

    OnCanExecute(Object)

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

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

    The parameter used by the DeleteShiftCellsLeftCommand.

    Returns
    Type Description
    System.Boolean

    Returns true if this command can be executed; otherwise, false.

    Overrides
    DeleteCommand.OnCanExecute(Object)

    OnExecute(Object)

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

    Declaration
    protected override void OnExecute(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    The parameter used by the DeleteShiftCellsLeftCommand.

    Overrides
    DeleteCommand.OnExecute(Object)

    Implements

    System.Windows.Input.ICommand
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved