Exemplo n.º 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);
 }
Exemplo n.º 2
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);
 }