55 references to UpdateSourceTrigger
PresentationFramework (50)
src\Framework\System\Windows\Controls\TextBox.cs (1)
700
UpdateSourceTrigger
.LostFocus // DefaultUpdateSourceTrigger
src\Framework\System\Windows\Data\Binding.cs (7)
401
[DefaultValue(
UpdateSourceTrigger
.Default)]
402
public
UpdateSourceTrigger
UpdateSourceTrigger
408
case BindingFlags.UpdateOnPropertyChanged: return
UpdateSourceTrigger
.PropertyChanged;
409
case BindingFlags.UpdateOnLostFocus: return
UpdateSourceTrigger
.LostFocus;
410
case BindingFlags.UpdateExplicitly: return
UpdateSourceTrigger
.Explicit;
411
case BindingFlags.UpdateDefault: return
UpdateSourceTrigger
.Default;
422
throw new InvalidEnumArgumentException("value", (int) value, typeof(
UpdateSourceTrigger
));
src\Framework\System\Windows\Data\BindingBase.cs (5)
354
internal static BindingFlags FlagsFrom(
UpdateSourceTrigger
updateSourceTrigger)
358
case
UpdateSourceTrigger
.Default: return BindingFlags.UpdateDefault;
359
case
UpdateSourceTrigger
.PropertyChanged: return BindingFlags.UpdateOnPropertyChanged;
360
case
UpdateSourceTrigger
.LostFocus: return BindingFlags.UpdateOnLostFocus;
361
case
UpdateSourceTrigger
.Explicit: return BindingFlags.UpdateExplicitly;
src\Framework\System\Windows\Data\BindingExpression.cs (1)
389
get { return (ParentBinding.UpdateSourceTrigger ==
UpdateSourceTrigger
.Default); }
src\Framework\System\Windows\Data\BindingExpressionBase.cs (10)
1032
SetUpdateSourceTrigger(
UpdateSourceTrigger
.Explicit);
1060
UpdateSourceTrigger
ust = GetDefaultUpdateSourceTrigger(fwMetaData);
2508
internal void ResolvePropertyDefaultSettings(BindingMode mode,
UpdateSourceTrigger
updateTrigger, FrameworkPropertyMetadata fwMetaData)
2535
if (updateTrigger ==
UpdateSourceTrigger
.Default)
2537
UpdateSourceTrigger
ust = GetDefaultUpdateSourceTrigger(fwMetaData);
2555
internal
UpdateSourceTrigger
GetDefaultUpdateSourceTrigger(FrameworkPropertyMetadata fwMetaData)
2557
UpdateSourceTrigger
ust =
2558
IsInMultiBindingExpression ?
UpdateSourceTrigger
.Explicit :
2560
UpdateSourceTrigger
.PropertyChanged;
2564
internal void SetUpdateSourceTrigger(
UpdateSourceTrigger
ust)
src\Framework\System\Windows\Data\BindingOperations.cs (5)
459
internal static bool IsValidUpdateSourceTrigger(
UpdateSourceTrigger
value)
463
case
UpdateSourceTrigger
.Default:
464
case
UpdateSourceTrigger
.PropertyChanged:
465
case
UpdateSourceTrigger
.LostFocus:
466
case
UpdateSourceTrigger
.Explicit:
src\Framework\System\Windows\Data\MultiBinding.cs (8)
130
[DefaultValue(
UpdateSourceTrigger
.PropertyChanged)]
131
public
UpdateSourceTrigger
UpdateSourceTrigger
137
case BindingFlags.UpdateOnPropertyChanged: return
UpdateSourceTrigger
.PropertyChanged;
138
case BindingFlags.UpdateOnLostFocus: return
UpdateSourceTrigger
.LostFocus;
139
case BindingFlags.UpdateExplicitly: return
UpdateSourceTrigger
.Explicit;
140
case BindingFlags.UpdateDefault: return
UpdateSourceTrigger
.Default;
387
if (binding.UpdateSourceTrigger !=
UpdateSourceTrigger
.PropertyChanged &&
388
binding.UpdateSourceTrigger !=
UpdateSourceTrigger
.Default)
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
160
get { return (ParentMultiBinding.UpdateSourceTrigger ==
UpdateSourceTrigger
.Default); }
src\Framework\System\Windows\FrameworkPropertyMetadata.cs (8)
220
UpdateSourceTrigger
defaultUpdateSourceTrigger) :
224
throw new InvalidEnumArgumentException("defaultUpdateSourceTrigger", (int) defaultUpdateSourceTrigger, typeof(
UpdateSourceTrigger
));
225
if (defaultUpdateSourceTrigger ==
UpdateSourceTrigger
.Default)
236
_flags = (MetadataFlags)(((uint)_flags & 0x3FFFFFFF) | ((uint)
UpdateSourceTrigger
.PropertyChanged) << 30);
471
public
UpdateSourceTrigger
DefaultUpdateSourceTrigger
475
get { return (
UpdateSourceTrigger
) (((uint) _flags >> 30) & 0x3); }
483
throw new InvalidEnumArgumentException("value", (int) value, typeof(
UpdateSourceTrigger
));
484
if (value ==
UpdateSourceTrigger
.Default)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6680
typeof(System.Windows.Data.
UpdateSourceTrigger
), // type
6684
bamlMember.TypeConverterType = typeof(System.Windows.Data.
UpdateSourceTrigger
);
6685
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).UpdateSourceTrigger = (System.Windows.Data.
UpdateSourceTrigger
)value; };
src\Framework\System\Windows\Shell\WindowChrome.cs (1)
344
UpdateSourceTrigger =
UpdateSourceTrigger
.PropertyChanged,
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
41
public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(object), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(ChoiceEditor.ValueChanged), null, false,
UpdateSourceTrigger
.Explicit));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
22
public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(string), typeof(StringEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(StringEditor.ValueChanged), null, false,
UpdateSourceTrigger
.PropertyChanged));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
698
binding.UpdateSourceTrigger =
UpdateSourceTrigger
.Explicit;
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (1)
44
searchTextBinding.UpdateSourceTrigger =
UpdateSourceTrigger
.PropertyChanged;
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
669
binding.UpdateSourceTrigger =
UpdateSourceTrigger
.Explicit;