Esempio n. 1
0
 public static DependencyProperty RegisterAttached <TProperty, TOwner>(string name, TProperty defaultValue, Action <DependencyObject, TProperty, TProperty> handler)
 {
     return(DependencyPropertyManager.RegisterAttached(name, typeof(TProperty), typeof(TOwner), new PropertyMetadataXm(defaultValue, StaticCallback(handler))));
 }
Esempio n. 2
0
 public static DependencyProperty RegisterAttached <TProperty, TOwner>(string name, TProperty defaultValue, PropertyChangedCallback handler)
 {
     return(DependencyPropertyManager.RegisterAttached(name, typeof(TProperty), typeof(TOwner), new PropertyMetadataXm(defaultValue, handler)));
 }
Esempio n. 3
0
 public static DependencyProperty RegisterAttached <TProperty, TOwner>(string name)
 {
     return(DependencyPropertyManager.RegisterAttached(name, typeof(TProperty), typeof(TOwner), new PropertyMetadataXm(default(TProperty))));
 }