Exemple #1
0
 protected override void MergeOverride(PropertyMetadata <T> old)
 {
     base.MergeOverride(old);
     if (old is UIPropertyMetadata <T> )
     {
         _uiOptions |= ((UIPropertyMetadata <T>)old)._uiOptions;
     }
 }
 public FrameworkPropertyMetadata(DependencyProperty.UnsetValueType unsetValue, FrameworkPropertyMetadataOptions fmOptions = FrameworkPropertyMetadataOptions.None, UIPropertyMetadataOptions uiOptions = UIPropertyMetadataOptions.None, EventHandler <PropertyChangedEventArgs <T> > propertyChangedHandler = null)
     : base(unsetValue, uiOptions, propertyChangedHandler)
 {
     _fmkOptions = fmOptions;
 }
 public FrameworkPropertyMetadata(T defaultValue, FrameworkPropertyMetadataOptions fmOptions = FrameworkPropertyMetadataOptions.None, UIPropertyMetadataOptions uiOptions = UIPropertyMetadataOptions.None, EventHandler <PropertyChangedEventArgs <T> > propertyChangedHandler = null)
     : base(defaultValue, uiOptions, propertyChangedHandler)
 {
     _fmkOptions = fmOptions;
 }
Exemple #4
0
 public UIPropertyMetadata(DependencyProperty.UnsetValueType unsetValue, UIPropertyMetadataOptions uiOptions = UIPropertyMetadataOptions.None, EventHandler <PropertyChangedEventArgs <T> > propertyChangedHandler = null)
     : base(unsetValue, propertyChangedHandler)
 {
     _uiOptions = uiOptions;
 }
Exemple #5
0
 public UIPropertyMetadata(T defaultValue, UIPropertyMetadataOptions uiOptions = UIPropertyMetadataOptions.None, EventHandler <PropertyChangedEventArgs <T> > propertyChangedHandler = null)
     : base(defaultValue, propertyChangedHandler)
 {
     _uiOptions = uiOptions;
 }