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