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