Example #1
0
 /// <summary>
 /// Sets the attached <see cref="DW.WPFToolkit.Helpers.EventToCommand" /> behavior.
 /// </summary>
 /// <param name="obj">The element to which the attached property is written.</param>
 /// <param name="value">The needed DW.WPFToolkit.Helpers.EventToCommandAdapter.EventToCommand value.</param>
 public static void SetEventToCommand(DependencyObject obj, EventToCommand value)
 {
     obj.SetValue(EventToCommandProperty, value);
 }
 /// <summary>
 /// Sets the attached <see cref="DW.WPFToolkit.Helpers.EventToCommand" /> behavior.
 /// </summary>
 /// <param name="obj">The element to which the attached property is written.</param>
 /// <param name="value">The needed DW.WPFToolkit.Helpers.EventToCommandAdapter.EventToCommand value.</param>
 public static void SetEventToCommand(DependencyObject obj, EventToCommand value)
 {
     obj.SetValue(EventToCommandProperty, value);
 }