50 references to UpdateSourceTrigger
PresentationFramework (50)
System\Windows\Controls\TextBox.cs (1)
671
UpdateSourceTrigger
.LostFocus // DefaultUpdateSourceTrigger
System\Windows\Data\Binding.cs (7)
396
[DefaultValue(
UpdateSourceTrigger
.Default)]
397
public
UpdateSourceTrigger
UpdateSourceTrigger
403
case BindingFlags.UpdateOnPropertyChanged: return
UpdateSourceTrigger
.PropertyChanged;
404
case BindingFlags.UpdateOnLostFocus: return
UpdateSourceTrigger
.LostFocus;
405
case BindingFlags.UpdateExplicitly: return
UpdateSourceTrigger
.Explicit;
406
case BindingFlags.UpdateDefault: return
UpdateSourceTrigger
.Default;
417
throw new InvalidEnumArgumentException("value", (int) value, typeof(
UpdateSourceTrigger
));
System\Windows\Data\BindingBase.cs (5)
351
internal static BindingFlags FlagsFrom(
UpdateSourceTrigger
updateSourceTrigger)
355
case
UpdateSourceTrigger
.Default: return BindingFlags.UpdateDefault;
356
case
UpdateSourceTrigger
.PropertyChanged: return BindingFlags.UpdateOnPropertyChanged;
357
case
UpdateSourceTrigger
.LostFocus: return BindingFlags.UpdateOnLostFocus;
358
case
UpdateSourceTrigger
.Explicit: return BindingFlags.UpdateExplicitly;
System\Windows\Data\BindingExpression.cs (1)
384
get { return (ParentBinding.UpdateSourceTrigger ==
UpdateSourceTrigger
.Default); }
System\Windows\Data\BindingExpressionBase.cs (10)
1028
SetUpdateSourceTrigger(
UpdateSourceTrigger
.Explicit);
1056
UpdateSourceTrigger
ust = GetDefaultUpdateSourceTrigger(fwMetaData);
2507
internal void ResolvePropertyDefaultSettings(BindingMode mode,
UpdateSourceTrigger
updateTrigger, FrameworkPropertyMetadata fwMetaData)
2535
if (updateTrigger ==
UpdateSourceTrigger
.Default)
2537
UpdateSourceTrigger
ust = GetDefaultUpdateSourceTrigger(fwMetaData);
2556
internal
UpdateSourceTrigger
GetDefaultUpdateSourceTrigger(FrameworkPropertyMetadata fwMetaData)
2558
UpdateSourceTrigger
ust =
2559
IsInMultiBindingExpression ?
UpdateSourceTrigger
.Explicit :
2561
UpdateSourceTrigger
.PropertyChanged;
2565
internal void SetUpdateSourceTrigger(
UpdateSourceTrigger
ust)
System\Windows\Data\BindingOperations.cs (5)
442
internal static bool IsValidUpdateSourceTrigger(
UpdateSourceTrigger
value)
446
case
UpdateSourceTrigger
.Default:
447
case
UpdateSourceTrigger
.PropertyChanged:
448
case
UpdateSourceTrigger
.LostFocus:
449
case
UpdateSourceTrigger
.Explicit:
System\Windows\Data\MultiBinding.cs (8)
126
[DefaultValue(
UpdateSourceTrigger
.PropertyChanged)]
127
public
UpdateSourceTrigger
UpdateSourceTrigger
133
case BindingFlags.UpdateOnPropertyChanged: return
UpdateSourceTrigger
.PropertyChanged;
134
case BindingFlags.UpdateOnLostFocus: return
UpdateSourceTrigger
.LostFocus;
135
case BindingFlags.UpdateExplicitly: return
UpdateSourceTrigger
.Explicit;
136
case BindingFlags.UpdateDefault: return
UpdateSourceTrigger
.Default;
382
if (binding.UpdateSourceTrigger !=
UpdateSourceTrigger
.PropertyChanged &&
383
binding.UpdateSourceTrigger !=
UpdateSourceTrigger
.Default)
System\Windows\Data\MultiBindingExpression.cs (1)
156
get { return (ParentMultiBinding.UpdateSourceTrigger ==
UpdateSourceTrigger
.Default); }
System\Windows\FrameworkPropertyMetadata.cs (8)
221
UpdateSourceTrigger
defaultUpdateSourceTrigger) :
225
throw new InvalidEnumArgumentException("defaultUpdateSourceTrigger", (int) defaultUpdateSourceTrigger, typeof(
UpdateSourceTrigger
));
226
if (defaultUpdateSourceTrigger ==
UpdateSourceTrigger
.Default)
237
_flags = (MetadataFlags)(((uint)_flags & 0x3FFFFFFF) | ((uint)
UpdateSourceTrigger
.PropertyChanged) << 30);
472
public
UpdateSourceTrigger
DefaultUpdateSourceTrigger
476
get { return (
UpdateSourceTrigger
) (((uint) _flags >> 30) & 0x3); }
484
throw new InvalidEnumArgumentException("value", (int) value, typeof(
UpdateSourceTrigger
));
485
if (value ==
UpdateSourceTrigger
.Default)
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6722
typeof(System.Windows.Data.
UpdateSourceTrigger
), // type
6726
bamlMember.TypeConverterType = typeof(System.Windows.Data.
UpdateSourceTrigger
);
6727
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).UpdateSourceTrigger = (System.Windows.Data.
UpdateSourceTrigger
)value; };
System\Windows\Shell\WindowChrome.cs (1)
346
UpdateSourceTrigger =
UpdateSourceTrigger
.PropertyChanged,