50 references to UpdateSourceTrigger
PresentationFramework (50)
System\Windows\Controls\TextBox.cs (1)
664
UpdateSourceTrigger
.LostFocus // DefaultUpdateSourceTrigger
System\Windows\Data\Binding.cs (7)
388
[DefaultValue(
UpdateSourceTrigger
.Default)]
389
public
UpdateSourceTrigger
UpdateSourceTrigger
395
case BindingFlags.UpdateOnPropertyChanged: return
UpdateSourceTrigger
.PropertyChanged;
396
case BindingFlags.UpdateOnLostFocus: return
UpdateSourceTrigger
.LostFocus;
397
case BindingFlags.UpdateExplicitly: return
UpdateSourceTrigger
.Explicit;
398
case BindingFlags.UpdateDefault: return
UpdateSourceTrigger
.Default;
409
throw new InvalidEnumArgumentException("value", (int) value, typeof(
UpdateSourceTrigger
));
System\Windows\Data\BindingBase.cs (5)
349
internal static BindingFlags FlagsFrom(
UpdateSourceTrigger
updateSourceTrigger)
353
case
UpdateSourceTrigger
.Default: return BindingFlags.UpdateDefault;
354
case
UpdateSourceTrigger
.PropertyChanged: return BindingFlags.UpdateOnPropertyChanged;
355
case
UpdateSourceTrigger
.LostFocus: return BindingFlags.UpdateOnLostFocus;
356
case
UpdateSourceTrigger
.Explicit: return BindingFlags.UpdateExplicitly;
System\Windows\Data\BindingExpression.cs (1)
375
get { return (ParentBinding.UpdateSourceTrigger ==
UpdateSourceTrigger
.Default); }
System\Windows\Data\BindingExpressionBase.cs (10)
1020
SetUpdateSourceTrigger(
UpdateSourceTrigger
.Explicit);
1048
UpdateSourceTrigger
ust = GetDefaultUpdateSourceTrigger(fwMetaData);
2499
internal void ResolvePropertyDefaultSettings(BindingMode mode,
UpdateSourceTrigger
updateTrigger, FrameworkPropertyMetadata fwMetaData)
2527
if (updateTrigger ==
UpdateSourceTrigger
.Default)
2529
UpdateSourceTrigger
ust = GetDefaultUpdateSourceTrigger(fwMetaData);
2548
internal
UpdateSourceTrigger
GetDefaultUpdateSourceTrigger(FrameworkPropertyMetadata fwMetaData)
2550
UpdateSourceTrigger
ust =
2551
IsInMultiBindingExpression ?
UpdateSourceTrigger
.Explicit :
2553
UpdateSourceTrigger
.PropertyChanged;
2557
internal void SetUpdateSourceTrigger(
UpdateSourceTrigger
ust)
System\Windows\Data\BindingOperations.cs (5)
433
internal static bool IsValidUpdateSourceTrigger(
UpdateSourceTrigger
value)
437
case
UpdateSourceTrigger
.Default:
438
case
UpdateSourceTrigger
.PropertyChanged:
439
case
UpdateSourceTrigger
.LostFocus:
440
case
UpdateSourceTrigger
.Explicit:
System\Windows\Data\MultiBinding.cs (8)
121
[DefaultValue(
UpdateSourceTrigger
.PropertyChanged)]
122
public
UpdateSourceTrigger
UpdateSourceTrigger
128
case BindingFlags.UpdateOnPropertyChanged: return
UpdateSourceTrigger
.PropertyChanged;
129
case BindingFlags.UpdateOnLostFocus: return
UpdateSourceTrigger
.LostFocus;
130
case BindingFlags.UpdateExplicitly: return
UpdateSourceTrigger
.Explicit;
131
case BindingFlags.UpdateDefault: return
UpdateSourceTrigger
.Default;
377
if (binding.UpdateSourceTrigger !=
UpdateSourceTrigger
.PropertyChanged &&
378
binding.UpdateSourceTrigger !=
UpdateSourceTrigger
.Default)
System\Windows\Data\MultiBindingExpression.cs (1)
145
get { return (ParentMultiBinding.UpdateSourceTrigger ==
UpdateSourceTrigger
.Default); }
System\Windows\FrameworkPropertyMetadata.cs (8)
219
UpdateSourceTrigger
defaultUpdateSourceTrigger) :
223
throw new InvalidEnumArgumentException("defaultUpdateSourceTrigger", (int) defaultUpdateSourceTrigger, typeof(
UpdateSourceTrigger
));
224
if (defaultUpdateSourceTrigger ==
UpdateSourceTrigger
.Default)
235
_flags = (MetadataFlags)(((uint)_flags & 0x3FFFFFFF) | ((uint)
UpdateSourceTrigger
.PropertyChanged) << 30);
470
public
UpdateSourceTrigger
DefaultUpdateSourceTrigger
474
get { return (
UpdateSourceTrigger
) (((uint) _flags >> 30) & 0x3); }
482
throw new InvalidEnumArgumentException("value", (int) value, typeof(
UpdateSourceTrigger
));
483
if (value ==
UpdateSourceTrigger
.Default)
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6720
typeof(System.Windows.Data.
UpdateSourceTrigger
), // type
6724
bamlMember.TypeConverterType = typeof(System.Windows.Data.
UpdateSourceTrigger
);
6725
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).UpdateSourceTrigger = (System.Windows.Data.
UpdateSourceTrigger
)value; };
System\Windows\Shell\WindowChrome.cs (1)
343
UpdateSourceTrigger =
UpdateSourceTrigger
.PropertyChanged,