Class RoutedContextMenuBehavior
AttachedBehavior that delegates assignment of the context menu for the host element to one of its parents.
Inherited Members
Namespace: Telerik.Windows.Controls.FieldList
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public sealed class RoutedContextMenuBehavior : AttachedBehavior
Constructors
RoutedContextMenuBehavior()
Declaration
public RoutedContextMenuBehavior()
Fields
BehaviorProperty
Identifies the Behavior attached dependency property.
Declaration
public static readonly DependencyProperty BehaviorProperty
Field Value
System.Windows.DependencyProperty
|
Methods
Attach(DependencyObject)
Attaches this behavior to the element
.
Declaration
protected override void Attach(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
|
Overrides
Detach(DependencyObject)
Removes this behavior from the element
.
Declaration
protected override void Detach(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
|
Overrides
GetBehavior(DependencyObject)
Gets the value of the Behavior attached property for the obj
.
Declaration
public static RoutedContextMenuBehavior GetBehavior(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
RoutedContextMenuBehavior
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
System.Windows.DependencyObject
obj
The object. |
RoutedContextMenuBehavior
value
The value. |