public ControlPropertyMetadata(ControlPropertyChangedCallback propertyChangedCallback, Object defaultValue = null, IControlPropertyApplier propertyApplier = null, bool readOnly = false)
 {
     this.PropertyChangedCallback = propertyChangedCallback;
     this.DefaultValue = defaultValue;
     this.Applier = propertyApplier;
     this.ReadOnly = readOnly;
 }
Example #2
0
 public ControlPropertyMetadata(ControlPropertyChangedCallback propertyChangedCallback, Object defaultValue = null, IControlPropertyApplier propertyApplier = null, bool readOnly = false)
 {
     this.PropertyChangedCallback = propertyChangedCallback;
     this.DefaultValue            = defaultValue;
     this.Applier  = propertyApplier;
     this.ReadOnly = readOnly;
 }
Example #3
0
 public static ControlProperty Register(String propertyName, Type propertyType, Type ownerType, Object defaultValue, ControlPropertyChangedCallback propertyChangedCallback = null)
 {
     return(Register(propertyName, propertyType, ownerType, null, defaultValue, propertyChangedCallback));
 }
Example #4
0
 public static ControlProperty Register(String propertyName, Type propertyType, Type ownerType, IControlPropertyApplier applier,
                                        Object defaultValue = null, ControlPropertyChangedCallback propertyChangedCallback = null)
 {
     return(Register(propertyName, propertyType, ownerType, new ControlPropertyMetadata(propertyChangedCallback, defaultValue, applier)));
 }
 public ControlPropertyMetadata(IControlPropertyApplier applier, ControlPropertyChangedCallback propertyChangedCallback = null)
     : this(propertyChangedCallback, null, applier)
 {
 }
 public ControlPropertyMetadata(Object defaultValue, ControlPropertyChangedCallback propertyChangedCallback = null)
     : this(propertyChangedCallback, defaultValue, null)
 {
 }
Example #7
0
 public ControlPropertyMetadata(IControlPropertyApplier applier, ControlPropertyChangedCallback propertyChangedCallback = null) : this(propertyChangedCallback, null, applier)
 {
 }
Example #8
0
 public ControlPropertyMetadata(Object defaultValue, ControlPropertyChangedCallback propertyChangedCallback = null) : this(propertyChangedCallback, defaultValue, null)
 {
 }
Example #9
0
 public static ControlProperty Register(String propertyName, Type propertyType, Type ownerType, Object defaultValue, ControlPropertyChangedCallback propertyChangedCallback = null)
 {
     return Register(propertyName, propertyType, ownerType, null, defaultValue, propertyChangedCallback);
 }
Example #10
0
 public static ControlProperty Register(String propertyName, Type propertyType, Type ownerType, IControlPropertyApplier applier,
     Object defaultValue = null, ControlPropertyChangedCallback propertyChangedCallback = null)
 {
     return Register(propertyName, propertyType, ownerType, new ControlPropertyMetadata(propertyChangedCallback, defaultValue, applier));
 }