Пример #1
0
 public FrameworkPropertyMetadata(
     object defaultValue,
     FrameworkPropertyMetadataOptions options
     ) : base(defaultValue)
 {
     Options = options.WithDefault();
 }
Пример #2
0
 internal FrameworkPropertyMetadata(
     object defaultValue,
     FrameworkPropertyMetadataOptions options,
     BackingFieldUpdateCallback backingFieldUpdateCallback
     ) : base(defaultValue, null, backingFieldUpdateCallback)
 {
     Options = options.WithDefault();
 }
Пример #3
0
 public FrameworkPropertyMetadata(
     object defaultValue,
     FrameworkPropertyMetadataOptions options,
     PropertyChangedCallback propertyChangedCallback
     ) : base(defaultValue, propertyChangedCallback)
 {
     Options = options.WithDefault();
 }
Пример #4
0
 internal FrameworkPropertyMetadata(
     object defaultValue,
     FrameworkPropertyMetadataOptions options,
     PropertyChangedCallback propertyChangedCallback,
     CoerceValueCallback coerceValueCallback
     ) : base(defaultValue, propertyChangedCallback, coerceValueCallback, null)
 {
     Options = options.WithDefault();
 }
Пример #5
0
 internal FrameworkPropertyMetadata(
     object defaultValue,
     FrameworkPropertyMetadataOptions options,
     BackingFieldUpdateCallback backingFieldUpdateCallback,
     CoerceValueCallback coerceValueCallback
     ) : base(defaultValue: defaultValue, propertyChangedCallback: null, coerceValueCallback: coerceValueCallback, backingFieldUpdateCallback: backingFieldUpdateCallback)
 {
     Options = options.WithDefault();
 }
Пример #6
0
 internal FrameworkPropertyMetadata(
     object defaultValue,
     FrameworkPropertyMetadataOptions options,
     PropertyChangedCallback propertyChangedCallback,
     CoerceValueCallback coerceValueCallback,
     UpdateSourceTrigger defaultUpdateSourceTrigger
     ) : base(defaultValue, propertyChangedCallback, coerceValueCallback, null)
 {
     Options = options.WithDefault();
     DefaultUpdateSourceTrigger = defaultUpdateSourceTrigger;
 }