예제 #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))));
 }
예제 #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)));
 }
예제 #3
0
 public static DependencyProperty RegisterAttached <TProperty, TOwner>(string name)
 {
     return(DependencyPropertyManager.RegisterAttached(name, typeof(TProperty), typeof(TOwner), new PropertyMetadataXm(default(TProperty))));
 }