FlexGrid for WinRT
CellEditEnding Event

Occurs when a cell edit is ending.
Syntax
'Declaration
 
Public Event CellEditEnding As System.EventHandler(Of CellEditEventArgs)
public event System.EventHandler<CellEditEventArgs> CellEditEnding
Event Data

The event handler receives an argument of type CellEditEventArgs containing data related to this event. The following CellEditEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs)
CancelEditsGets a value that determines whether the editing action was canceled.  
CellRangeCellRange affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
CellTypeCellType of the range affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
ColumnIndex of the column affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
EditorGets the Windows.UI.Xaml.FrameworkElement responsible for editing the cell value.  
PanelGridPanel that contains the range affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
RowIndex of the row affected by the event. (Inherited from C1.Xaml.FlexGrid.CellRangeEventArgs)
Remarks

You can cancel this event by setting the Cancel property of the event argument to true in the event handler.

If this event is not canceled, the edits will be committed or canceled depending on the setting of the CancelEdits property of the event argument.

After the edit has been successfully committed or canceled, the CellEditEnded event occurs.

By default, you can edit items directly in the grid. To guarantee that edits can be committed and canceled correctly, the objects in the grid must implement the System.ComponentModel.IEditableObject interface.

Alternatively, you can set the IsReadOnly property to true to disable editing in the grid.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGrid Class
C1FlexGrid Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum  |   Documentation Feedback