Class ItemContextMenuOpeningEventArgs
Provides the data for the ItemContextMenuOpening event.
Inheritance
System.Object
ItemContextMenuOpeningEventArgs
Namespace: Syncfusion.UI.Xaml.TreeView
Assembly: Syncfusion.SfTreeView.WPF.dll
Syntax
public class ItemContextMenuOpeningEventArgs : CancelEventArgs
Constructors
ItemContextMenuOpeningEventArgs()
Initializes a new instance of the ItemContextMenuOpeningEventArgs class.
Declaration
public ItemContextMenuOpeningEventArgs()
Properties
ContextMenu
Gets or sets the context menu getting opened.
Declaration
public ContextMenu ContextMenu { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.ContextMenu | A System.Windows.Controls.ContextMenu that represents shortcut menu which is being opened. |
See Also
MenuInfo
Gets an instance of TreeViewItemContextMenuInfo that contains information about treeview and treeview node.
Declaration
public TreeViewItemContextMenuInfo MenuInfo { get; }
Property Value
Type |
---|
TreeViewItemContextMenuInfo |
Remarks
ItemContextMenu is received this information as DataContext.