Class
ContextMenuRequestEventArgs

Provides data for the RequestContextMenu routed event.

Definition

Namespace:Telerik.Windows.Controls.FieldList

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public class ContextMenuRequestEventArgs : RoutedEventArgs

Inheritance: objectContextMenuRequestEventArgs

Constructors

ContextMenuRequestEventArgs(FrameworkElement)

Initializes a new instance of the ContextMenuRequestEventArgs class for the RequestContextMenu routed event.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
protected ContextMenuRequestEventArgs(RoutedEvent routedEvent, object source, FrameworkElement contextMenuHost)

Parameters

routedEvent

RoutedEvent

The routed event identifier for this instance of the RoutedEventArgs class.

source

object

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

cs-api-definition
public RadContextMenu ContextMenu { get; set; }

Property Value

RadContextMenu

ContextMenuHost

Gets the element that will use the context menu.

Declaration

cs-api-definition
public FrameworkElement ContextMenuHost { get; }

Property Value

FrameworkElement