Exemplo 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))));
 }
Exemplo 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)));
 }
Exemplo n.º 3
0
 public static DependencyPropertyKey RegisterAttachedReadOnly <TProperty>(string name, Type ownerType, TProperty defaultValue)
 {
     return(DependencyPropertyManager.RegisterAttachedReadOnly(name, typeof(TProperty), ownerType, new ReadOnlyPropertyMetadataInternal(defaultValue)));
 }
Exemplo n.º 4
0
 public static DependencyPropertyKey RegisterAttachedReadOnly <TProperty, TOwner>(string name)
 {
     return(DependencyPropertyManager.RegisterAttachedReadOnly(name, typeof(TProperty), typeof(TOwner), new ReadOnlyPropertyMetadataInternal(default(TProperty))));
 }