CommandRouting.SetInterceptsCommandRouting(DependencyObject, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在上设置的值 InterceptsCommandRouting 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)
参数
- element
- DependencyObject
要在其上设置属性的元素。
- value
- Boolean
要设置的属性的值。