Show / Hide Table of Contents

Class DataGridPreparingCellForEditEventArgs

Provides data for the PreparingCellForEdit event.

Inheritance
System.Object
System.EventArgs
DataGridPreparingCellForEditEventArgs
Inherited Members
System.EventArgs.Empty
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: System.Windows.Controls
Assembly: OpenSilver.Controls.Data.dll
Syntax
public class DataGridPreparingCellForEditEventArgs : EventArgs

Constructors

| Improve this Doc View Source

DataGridPreparingCellForEditEventArgs(DataGridColumn, DataGridRow, RoutedEventArgs, FrameworkElement)

Initializes a new instance of the DataGridPreparingCellForEditEventArgs class.

Declaration
public DataGridPreparingCellForEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs, FrameworkElement editingElement)
Parameters
Type Name Description
DataGridColumn column

The column that contains the cell to be edited.

DataGridRow row

The row that contains the cell to be edited.

RoutedEventArgs editingEventArgs

Information about the user gesture that caused the cell to enter edit mode.

FrameworkElement editingElement

The element that the column displays for a cell in editing mode.

Properties

| Improve this Doc View Source

Column

Gets the column that contains the cell to be edited.

Declaration
public DataGridColumn Column { get; }
Property Value
Type Description
DataGridColumn
| Improve this Doc View Source

EditingElement

Gets the element that the column displays for a cell in editing mode.

Declaration
public FrameworkElement EditingElement { get; }
Property Value
Type Description
FrameworkElement
| Improve this Doc View Source

EditingEventArgs

Gets information about the user gesture that caused the cell to enter edit mode.

Declaration
public RoutedEventArgs EditingEventArgs { get; }
Property Value
Type Description
RoutedEventArgs
| Improve this Doc View Source

Row

Gets the row that contains the cell to be edited.

Declaration
public DataGridRow Row { get; }
Property Value
Type Description
DataGridRow
  • Improve this Doc
  • View Source