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; }
public UIPropertyMetadata(DependencyProperty.UnsetValueType unsetValue, UIPropertyMetadataOptions uiOptions = UIPropertyMetadataOptions.None, EventHandler <PropertyChangedEventArgs <T> > propertyChangedHandler = null) : base(unsetValue, propertyChangedHandler) { _uiOptions = uiOptions; }
public UIPropertyMetadata(T defaultValue, UIPropertyMetadataOptions uiOptions = UIPropertyMetadataOptions.None, EventHandler <PropertyChangedEventArgs <T> > propertyChangedHandler = null) : base(defaultValue, propertyChangedHandler) { _uiOptions = uiOptions; }