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