ClassContextMenuRequestEventArgs
Provides data for the RequestContextMenu routed event.
Definition
Namespace:Telerik.Windows.Controls.FieldList
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
public class ContextMenuRequestEventArgs : RoutedEventArgs
Inheritance: objectContextMenuRequestEventArgs
Constructors
ContextMenuRequestEventArgs(FrameworkElement)
Initializes a new instance of the ContextMenuRequestEventArgs class for the RequestContextMenu routed event.
Declaration
public ContextMenuRequestEventArgs(FrameworkElement contextMenuHost)
Parameters
contextMenuHost
FrameworkElement
The element that will use the context menu.
ContextMenuRequestEventArgs(RoutedEvent, FrameworkElement)
Initializes a new instance of the ContextMenuRequestEventArgs class.
Declaration
protected ContextMenuRequestEventArgs(RoutedEvent routedEvent, FrameworkElement contextMenuHost)
Parameters
routedEvent
RoutedEvent
The routed event identifier for this instance of the RoutedEventArgs class.
contextMenuHost
FrameworkElement
The element that will use the context menu.
ContextMenuRequestEventArgs(RoutedEvent, object, FrameworkElement)
Initializes a new instance of the ContextMenuRequestEventArgs class.
Declaration
protected ContextMenuRequestEventArgs(RoutedEvent routedEvent, object source, FrameworkElement contextMenuHost)
Parameters
routedEvent
RoutedEvent
The routed event identifier for this instance of the RoutedEventArgs class.
source
An alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property.
contextMenuHost
FrameworkElement
The element that will use the context menu.
Properties
ContextMenu
Gets or sets the assigned context menu.
Declaration
public RadContextMenu ContextMenu { get; set; }
Property Value
ContextMenuHost
Gets the element that will use the context menu.
Declaration
public FrameworkElement ContextMenuHost { get; }
Property Value
FrameworkElement