83 references to BindingMode
PresentationFramework (74)
MS\Internal\Data\LiveShapingItem.cs (1)
121
binding.Mode =
BindingMode
.OneTime;
System\Windows\Controls\DataGrid.cs (1)
6993
BindingBase binding = _column.ClipboardContentBinding.Clone(
BindingMode
.TwoWay);
System\Windows\Controls\DataGridColumn.cs (2)
1212
binding.Mode =
BindingMode
.OneWay;
1223
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\DataGridHelper.cs (2)
484
return binding.Mode ==
BindingMode
.OneWay;
491
return multiBinding.Mode ==
BindingMode
.OneWay;
System\Windows\Controls\FlowDocumentReader.cs (1)
1126
binding.Mode =
BindingMode
.TwoWay;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1307
binding.Mode =
BindingMode
.TwoWay;
System\Windows\Controls\InkCanvas.cs (3)
637
activeEditingModeBinding.Mode =
BindingMode
.OneWay;
2023
strokes.Mode =
BindingMode
.OneWay;
2190
background.Mode =
BindingMode
.OneWay;
System\Windows\Controls\MenuItem.cs (1)
2145
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\PopupControlService.cs (1)
448
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\Primitives\Popup.cs (9)
908
binding.Mode =
BindingMode
.OneWay;
920
binding.Mode =
BindingMode
.OneWay;
925
binding.Mode =
BindingMode
.OneWay;
930
binding.Mode =
BindingMode
.OneWay;
935
binding.Mode =
BindingMode
.OneWay;
940
binding.Mode =
BindingMode
.OneWay;
945
binding.Mode =
BindingMode
.OneWay;
952
binding.Mode =
BindingMode
.OneWay;
959
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\Primitives\PopupRoot.cs (6)
251
binding.Mode =
BindingMode
.OneWay;
256
binding.Mode =
BindingMode
.OneWay;
261
binding.Mode =
BindingMode
.OneWay;
266
binding.Mode =
BindingMode
.OneWay;
271
binding.Mode =
BindingMode
.OneWay;
276
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\Primitives\ScrollBar.cs (1)
891
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\ScrollViewer.cs (2)
2681
bindingHorizontalOffset.Mode =
BindingMode
.OneWay;
2684
bindingVerticalOffset.Mode =
BindingMode
.OneWay;
System\Windows\Controls\StickyNote.cs (5)
1471
inkCanvasEditingMode.Mode =
BindingMode
.TwoWay;
1475
stickyNoteInkEditingMode.Mode =
BindingMode
.TwoWay;
1637
checkedBind.Mode =
BindingMode
.OneWay;
1649
checkedBind.Mode =
BindingMode
.OneWay;
1661
checkedBind.Mode =
BindingMode
.OneWay;
System\Windows\Controls\TextSearch.cs (1)
658
binding.Mode =
BindingMode
.OneWay;
System\Windows\Data\Binding.cs (9)
359
[DefaultValue(
BindingMode
.Default)]
360
public
BindingMode
Mode
366
case BindingFlags.OneWay: return
BindingMode
.OneWay;
367
case BindingFlags.TwoWay: return
BindingMode
.TwoWay;
368
case BindingFlags.OneWayToSource: return
BindingMode
.OneWayToSource;
369
case BindingFlags.OneTime: return
BindingMode
.OneTime;
370
case BindingFlags.PropDefault: return
BindingMode
.Default;
381
throw new InvalidEnumArgumentException("value", (int) value, typeof(
BindingMode
));
710
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
System\Windows\Data\BindingBase.cs (8)
334
internal static BindingFlags FlagsFrom(
BindingMode
bindingMode)
338
case
BindingMode
.OneWay: return BindingFlags.OneWay;
339
case
BindingMode
.TwoWay: return BindingFlags.TwoWay;
340
case
BindingMode
.OneWayToSource: return BindingFlags.OneWayToSource;
341
case
BindingMode
.OneTime: return BindingFlags.OneTime;
342
case
BindingMode
.Default: return BindingFlags.PropDefault;
461
internal BindingBase Clone(
BindingMode
mode)
469
internal virtual void InitializeClone(BindingBase clone,
BindingMode
mode)
System\Windows\Data\BindingExpressionBase.cs (4)
2499
internal void ResolvePropertyDefaultSettings(
BindingMode
mode, UpdateSourceTrigger updateTrigger, FrameworkPropertyMetadata fwMetaData)
2502
if (mode ==
BindingMode
.Default)
2518
(f == BindingFlags.OneWay) ?
BindingMode
.OneWay :
BindingMode
.TwoWay),
System\Windows\Data\BindingGroup.cs (1)
1433
binding.Mode =
BindingMode
.TwoWay;
System\Windows\Data\MultiBinding.cs (8)
97
[DefaultValue(
BindingMode
.Default)]
98
public
BindingMode
Mode
104
case BindingFlags.OneWay: return
BindingMode
.OneWay;
105
case BindingFlags.TwoWay: return
BindingMode
.TwoWay;
106
case BindingFlags.OneWayToSource: return
BindingMode
.OneWayToSource;
107
case BindingFlags.OneTime: return
BindingMode
.OneTime;
108
case BindingFlags.PropDefault: return
BindingMode
.Default;
388
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
System\Windows\Data\PriorityBinding.cs (1)
113
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
System\Windows\Documents\Adorner.cs (1)
214
binding.Mode =
BindingMode
.OneWay;
System\Windows\FrameworkTemplate.cs (1)
819
binding.Mode =
BindingMode
.OneWay;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6649
typeof(System.Windows.Data.
BindingMode
), // type
6653
bamlMember.TypeConverterType = typeof(System.Windows.Data.
BindingMode
);
6654
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).Mode = (System.Windows.Data.
BindingMode
)value; };
System\Windows\Shell\WindowChrome.cs (1)
342
Mode =
BindingMode
.OneWay,
PresentationUI (6)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (6)
717
bind.Mode =
BindingMode
.OneWay;
721
bind.Mode =
BindingMode
.OneWay;
769
bind.Mode =
BindingMode
.OneWay;
773
bind.Mode =
BindingMode
.OneWay;
1110
bind.Mode =
BindingMode
.OneWay;
1124
bind.Mode =
BindingMode
.OneWay;
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
117
binding.Mode =
BindingMode
.OneWay;
Microsoft\Windows\Controls\TextSearchInternal.cs (2)
677
binding.Mode =
BindingMode
.OneWay;
926
binding.Mode =
BindingMode
.OneWay;