AttachedBehavior that delegates assignment of the context menu for the host element to one of its parents.
Definition
Namespace:Telerik.Windows.Controls.FieldList
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
C#
public sealed class RoutedContextMenuBehavior : AttachedBehavior
Inheritance: objectAttachedBehaviorRoutedContextMenuBehavior
Inherited Members
Constructors
C#
public RoutedContextMenuBehavior()
Fields
BehaviorProperty
DependencyProperty
Identifies the Behavior attached dependency property.
C#
public static readonly DependencyProperty BehaviorProperty
Methods
Attaches this behavior to the element.
C#
protected override void Attach(DependencyObject element)
Overrides:
Removes this behavior from the element.
C#
protected override void Detach(DependencyObject element)
Overrides:
Gets the value of the Behavior attached property for the obj.
C#
public static RoutedContextMenuBehavior GetBehavior(DependencyObject obj)
The object.
Returns:The value.
Sets the Behavior attached property for the obj to value.
C#
public static void SetBehavior(DependencyObject obj, RoutedContextMenuBehavior value)
The object.
valueRoutedContextMenuBehaviorThe value.