ClassRoutedContextMenuBehavior
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:
public sealed class RoutedContextMenuBehavior : AttachedBehavior
Inheritance: objectAttachedBehaviorRoutedContextMenuBehavior
Inherited Members
Constructors
RoutedContextMenuBehavior()
Declaration
public RoutedContextMenuBehavior()
Fields
BehaviorProperty
Identifies the Behavior attached dependency property.
Declaration
public static readonly DependencyProperty BehaviorProperty
Field Value
DependencyProperty
Methods
Attach(DependencyObject)
Attaches this behavior to the element.
Declaration
protected override void Attach(DependencyObject element)
Parameters
element
DependencyObject
Overrides
Detach(DependencyObject)
Removes this behavior from the element.
Declaration
protected override void Detach(DependencyObject element)
Parameters
element
DependencyObject
Overrides
GetBehavior(DependencyObject)
Gets the value of the Behavior attached property for the obj.
Declaration
public static RoutedContextMenuBehavior GetBehavior(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
The value.
SetBehavior(DependencyObject, RoutedContextMenuBehavior)
Sets the Behavior attached property for the obj to value.
Declaration
public static void SetBehavior(DependencyObject obj, RoutedContextMenuBehavior value)
Parameters
obj
DependencyObject
The object.
value
The value.