/// <summary> /// Sets the inputBindings attached via the <see cref="P:TomsToolbox.Wpf.StyleBindings.InputBindings"/> attached property. /// </summary> /// <param name="obj">The object the inputBindings are attached to.</param> /// <param name="value">The inputBindings to attach.</param> public static void SetInputBindings([NotNull] DependencyObject obj, [CanBeNull] InputBindingTemplate value) { obj.SetValue(InputBindingsProperty, value); }
/// <summary> /// Sets the inputBindings attached via the <see cref="P:TomsToolbox.Wpf.StyleBindings.InputBindings"/> attached property. /// </summary> /// <param name="obj">The object the inputBindings are attached to.</param> /// <param name="value">The inputBindings to attach.</param> public static void SetInputBindings([NotNull] DependencyObject obj, [CanBeNull] InputBindingTemplate value) { Contract.Requires(obj != null); obj.SetValue(InputBindingsProperty, value); }