Class TableViewPreparingCellForEditEventArgs
Provides data for the PreparingCellForEdit event.
public class TableViewPreparingCellForEditEventArgs : EventArgs
- Inheritance
-
objectEventArgsTableViewPreparingCellForEditEventArgs
Constructors
TableViewPreparingCellForEditEventArgs(TableViewCell, object?, TableViewColumn, FrameworkElement, RoutedEventArgs)
Initializes a new instance of the TableViewPreparingCellForEditEventArgs class.
public TableViewPreparingCellForEditEventArgs(TableViewCell cell, object? dataItem, TableViewColumn column, FrameworkElement editingElement, RoutedEventArgs editingArgs)
Parameters
cellTableViewCellThe cell that is being prepared for edit.
dataItemobjectThe data item associated with the cell.
columnTableViewColumnThe column that contains the cell.
editingElementFrameworkElementThe element that will be used for editing the cell.
editingArgsRoutedEventArgsThe original routed event args that triggered the edit request.
Properties
Cell
Gets the TableViewCell that will be edited.
public TableViewCell Cell { get; }
Property Value
Column
Gets the column that owns the cell being edited, if available.
public TableViewColumn Column { get; }
Property Value
DataItem
Gets the data item associated with the cell being edited.
public object? DataItem { get; }
Property Value
- object
EditingArgs
Gets the original Microsoft.UI.Xaml.RoutedEventArgs that triggered the edit operation.
public RoutedEventArgs EditingArgs { get; }
Property Value
- RoutedEventArgs
EditingElement
Gets the element that will be used for editing the cell.
public FrameworkElement EditingElement { get; }
Property Value
- FrameworkElement