menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCurrentCellValueCommand - API Reference

    Show / Hide Table of Contents

    Class GridCurrentCellValueCommand

    Holds undo information about the current cells value.

    Inheritance
    System.Object
    SyncfusionCommand
    GridModelCommand
    GridCurrentCellValueCommand
    Inherited Members
    GridModelCommand.SetDescription(String)
    GridModelCommand.Description
    GridModelCommand.Grid
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCurrentCellValueCommand : GridModelCommand
    Remarks

    The Execute() method will call BeginEdit() and then set the associated renderer's ControlValue.

    Constructors

    GridCurrentCellValueCommand(GridModel, Int32, Int32, Object)

    Initializes a new GridSelectionStateCommand with information about current cell position and selected ranges.

    Declaration
    public GridCurrentCellValueCommand(GridModel table, int currentRow, int currentCol, object value)
    Parameters
    Type Name Description
    GridModel table

    The GridModel this command is associated with.

    System.Int32 currentRow

    The row index of current cell.

    System.Int32 currentCol

    The column index of current cell.

    System.Object value

    The current cells value.

    Methods

    Execute()

    This method will call BeginEdit() and then set the associated renderer's ControlValue.

    Declaration
    public override void Execute()
    Overrides
    SyncfusionCommand.Execute()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved