/// <summary> /// 设置指定元素的焦点跟踪范围标记。 /// </summary> /// <param name="scope">需要设置为跟踪范围的元素。</param> /// <param name="value">是否为跟踪范围。</param> public static void SetTrackFocusScope(DependencyObject scope, TrackFocusScope value) { scope.SetValue(TrackFocusScopeProperty, value); }
/// <summary> /// 设置指定元素的焦点跟踪范围标记。 /// </summary> /// <param name="scope">需要设置为跟踪范围的元素。</param> /// <param name="value">是否为跟踪范围。</param> public static void SetTrackFocusScope(DependencyObject scope, TrackFocusScope value) { scope.SetValue(TrackFocusScopeProperty, value); }