private static void SetEventCommands(DependencyObject element, EventCommandsCollection commands)
 {
     if (element == null)
     {
         return;
     }
     Ex.SetEventCommands(element, commands);
 }
Esempio n. 2
0
 /// <summary>Event commands</summary>
 /// <param name="obj">Object to set the event command on</param>
 /// <param name="value">Value to set</param>
 public static void SetEventCommands(DependencyObject obj, EventCommandsCollection value)
 {
     obj.SetValue(EventCommandsProperty, value);
 }