Udostępnij za pośrednictwem


CommandRouting.SetInterceptsCommandRouting(DependencyObject, Boolean) Method

Definition

Sets the value of the InterceptsCommandRouting on a DependencyObject.

public:
 static void SetInterceptsCommandRouting(System::Windows::DependencyObject ^ element, bool value);
public static void SetInterceptsCommandRouting (System.Windows.DependencyObject element, bool value);
static member SetInterceptsCommandRouting : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetInterceptsCommandRouting (element As DependencyObject, value As Boolean)

Parameters

element
DependencyObject

The element on which the property is to be set.

value
Boolean

The value of the property to be set.

Applies to