Exemplo n.º 1
0
 public static void SetId(Xaml.DependencyObject target, string id)
 {
     target.SetValue(IdProperty, id);
     if (!string.IsNullOrEmpty(id))
     {
         Delegates[id](target);
     }
 }
Exemplo n.º 2
0
 public static void SetTemplatedParent(Xaml.DependencyObject target, Xaml.UIElement parent) => target.SetValue(TemplatedParentProperty, parent);
Exemplo n.º 3
0
 public static void SetId(Xaml.DependencyObject target, string id) => target.SetValue(IdProperty, id);