Ejemplo n.º 1
0
 public static DependencyPropertyKey RegisterAttachedReadOnly <TProperty>(string name, Type ownerType, Action <DependencyObject> handler)
 {
     return(DependencyPropertyManager.RegisterAttachedReadOnly(name, typeof(TProperty), ownerType, new ReadOnlyPropertyMetadataInternal(default(TProperty), StaticCallback(handler))));
 }
Ejemplo n.º 2
0
 public static DependencyPropertyKey RegisterAttachedReadOnly <TProperty, TOwner>(string name, TProperty defaultValue, PropertyChangedCallback handler)
 {
     return(DependencyPropertyManager.RegisterAttachedReadOnly(name, typeof(TProperty), typeof(TOwner), new ReadOnlyPropertyMetadataInternal(defaultValue, handler)));
 }
Ejemplo n.º 3
0
 public static DependencyPropertyKey RegisterAttachedReadOnly <TProperty>(string name, Type ownerType, TProperty defaultValue)
 {
     return(DependencyPropertyManager.RegisterAttachedReadOnly(name, typeof(TProperty), ownerType, new ReadOnlyPropertyMetadataInternal(defaultValue)));
 }
Ejemplo n.º 4
0
 public static DependencyPropertyKey RegisterAttachedReadOnly <TProperty, TOwner>(string name)
 {
     return(DependencyPropertyManager.RegisterAttachedReadOnly(name, typeof(TProperty), typeof(TOwner), new ReadOnlyPropertyMetadataInternal(default(TProperty))));
 }