Table of Contents

Class TableViewPreparingCellForEditEventArgs

Namespace
WinUI.TableView
Assembly
WinUI.TableView.dll

Provides data for the PreparingCellForEdit event.

public class TableViewPreparingCellForEditEventArgs : EventArgs
Inheritance
object
EventArgs
TableViewPreparingCellForEditEventArgs

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

cell TableViewCell

The cell that is being prepared for edit.

dataItem object

The data item associated with the cell.

column TableViewColumn

The column that contains the cell.

editingElement FrameworkElement

The element that will be used for editing the cell.

editingArgs RoutedEventArgs

The original routed event args that triggered the edit request.

Properties

Cell

Gets the TableViewCell that will be edited.

public TableViewCell Cell { get; }

Property Value

TableViewCell

Column

Gets the column that owns the cell being edited, if available.

public TableViewColumn Column { get; }

Property Value

TableViewColumn

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