Class ContextMenuRequestEventArgs
Provides data for the RequestContextMenu routed event.
Inheritance
Namespace: Telerik.Windows.Controls.FieldList
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public class ContextMenuRequestEventArgs : RoutedEventArgs
Constructors
ContextMenuRequestEventArgs(FrameworkElement)
Initializes a new instance of the ContextMenuRequestEventArgs class for the RequestContextMenu routed event.
Declaration
public ContextMenuRequestEventArgs(FrameworkElement contextMenuHost)
Parameters
System.Windows.FrameworkElement
contextMenuHost
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
System.Windows.RoutedEvent
routedEvent
The routed event identifier for this instance of the System.Windows.RoutedEventArgs class. |
System.Object
source
An alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property. |
System.Windows.FrameworkElement
contextMenuHost
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
System.Windows.RoutedEvent
routedEvent
The routed event identifier for this instance of the System.Windows.RoutedEventArgs class. |
System.Windows.FrameworkElement
contextMenuHost
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
RadContextMenu
|
ContextMenuHost
Gets the element that will use the context menu.
Declaration
public FrameworkElement ContextMenuHost { get; }
Property Value
System.Windows.FrameworkElement
|