Class ContextMenuOpeningEventArgs
Provides data for the ContextMenuOpening event. Inherits from System.ComponentModel.CancelEventArgs so handlers can cancel the opening by setting System.ComponentModel.CancelEventArgs.Cancel.
Inheritance
System.Object
ContextMenuOpeningEventArgs
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class ContextMenuOpeningEventArgs : CancelEventArgs
Constructors
ContextMenuOpeningEventArgs(IList<AssistContextMenuItem>)
Initializes a new instance of the ContextMenuOpeningEventArgs class.
Declaration
public ContextMenuOpeningEventArgs(IList<AssistContextMenuItem> contextMenuItems)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IList<AssistContextMenuItem> | contextMenuItems | The collection of menu items that will be shown in the context menu (may be null). |
Properties
ContextMenuItems
Gets the collection of
Declaration
public IList<AssistContextMenuItem> ContextMenuItems { get; }
Property Value
| Type |
|---|
| System.Collections.Generic.IList<AssistContextMenuItem> |