Class GridContextFlyoutEventArgs
Provides data for GridContextFlyoutOpening event.
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridContextFlyoutEventArgs : GridHandledEventArgsConstructors
GridContextFlyoutEventArgs(MenuFlyout, Object, RowColumnIndex, ContextFlyoutType, Object)
Initializes a new instance of GridContextFlyoutEventArgs class.
Declaration
public GridContextFlyoutEventArgs(MenuFlyout contextFlyout, object contextFlyoutInfo, RowColumnIndex rowColumnIndex, ContextFlyoutType contextFlyoutType, object originalSource = null)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.UI.Xaml.Controls.MenuFlyout | contextFlyout | Contains the context menu for the SfDataGrid. | 
| System.Object | contextFlyoutInfo | Contains the information about the content flyout. | 
| RowColumnIndex | rowColumnIndex | The corresponding rowcolumnindex where the shortcut menu is opened. | 
| ContextFlyoutType | contextFlyoutType | The corresponding type of the context flyout. | 
| System.Object | originalSource | The source of the event. | 
Properties
ContextFlyout
Gets or sets the shortcut menu associated with SfDataGrid.
Declaration
public MenuFlyout ContextFlyout { get; set; }Property Value
| Type | Description | 
|---|---|
| Microsoft.UI.Xaml.Controls.MenuFlyout | A Microsoft.UI.Xaml.Controls.MenuFlyout that represents the shortcut menu associated with SfDataGrid. | 
ContextFlyoutInfo
Gets or sets an object that contains an information about the context flyout.
Declaration
public object ContextFlyoutInfo { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Object | An object that contains an information about the context flyout. | 
ContextFlyoutType
Gets or sets the type of context flyout.
Declaration
public ContextFlyoutType ContextFlyoutType { get; set; }Property Value
| Type | Description | 
|---|---|
| ContextFlyoutType | One of the ContextFlyoutType enumeration that specifies the type of context flyout. | 
RowColumnIndex
Gets or sets the RowColumnIndex where the context flyout is opened.
Declaration
public RowColumnIndex RowColumnIndex { get; set; }Property Value
| Type | Description | 
|---|---|
| RowColumnIndex | The corresponding RowColumnIndex of the context flyout. |