83 references to BindingMode
PresentationFramework (74)
MS\Internal\Data\LiveShapingItem.cs (1)
124
binding.Mode =
BindingMode
.OneTime;
System\Windows\Controls\DataGrid.cs (1)
6996
BindingBase binding = _column.ClipboardContentBinding.Clone(
BindingMode
.TwoWay);
System\Windows\Controls\DataGridColumn.cs (2)
1215
binding.Mode =
BindingMode
.OneWay;
1226
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\DataGridHelper.cs (2)
490
return binding.Mode ==
BindingMode
.OneWay;
497
return multiBinding.Mode ==
BindingMode
.OneWay;
System\Windows\Controls\FlowDocumentReader.cs (1)
1131
binding.Mode =
BindingMode
.TwoWay;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1310
binding.Mode =
BindingMode
.TwoWay;
System\Windows\Controls\InkCanvas.cs (3)
649
activeEditingModeBinding.Mode =
BindingMode
.OneWay;
2035
strokes.Mode =
BindingMode
.OneWay;
2202
background.Mode =
BindingMode
.OneWay;
System\Windows\Controls\MenuItem.cs (1)
2155
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\PopupControlService.cs (1)
458
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\Primitives\Popup.cs (9)
915
binding.Mode =
BindingMode
.OneWay;
927
binding.Mode =
BindingMode
.OneWay;
932
binding.Mode =
BindingMode
.OneWay;
937
binding.Mode =
BindingMode
.OneWay;
942
binding.Mode =
BindingMode
.OneWay;
947
binding.Mode =
BindingMode
.OneWay;
952
binding.Mode =
BindingMode
.OneWay;
959
binding.Mode =
BindingMode
.OneWay;
966
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\Primitives\PopupRoot.cs (6)
260
binding.Mode =
BindingMode
.OneWay;
265
binding.Mode =
BindingMode
.OneWay;
270
binding.Mode =
BindingMode
.OneWay;
275
binding.Mode =
BindingMode
.OneWay;
280
binding.Mode =
BindingMode
.OneWay;
285
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\Primitives\ScrollBar.cs (1)
907
binding.Mode =
BindingMode
.OneWay;
System\Windows\Controls\ScrollViewer.cs (2)
2689
bindingHorizontalOffset.Mode =
BindingMode
.OneWay;
2692
bindingVerticalOffset.Mode =
BindingMode
.OneWay;
System\Windows\Controls\StickyNote.cs (5)
1487
inkCanvasEditingMode.Mode =
BindingMode
.TwoWay;
1491
stickyNoteInkEditingMode.Mode =
BindingMode
.TwoWay;
1653
checkedBind.Mode =
BindingMode
.OneWay;
1665
checkedBind.Mode =
BindingMode
.OneWay;
1677
checkedBind.Mode =
BindingMode
.OneWay;
System\Windows\Controls\TextSearch.cs (1)
669
binding.Mode =
BindingMode
.OneWay;
System\Windows\Data\Binding.cs (9)
367
[DefaultValue(
BindingMode
.Default)]
368
public
BindingMode
Mode
374
case BindingFlags.OneWay: return
BindingMode
.OneWay;
375
case BindingFlags.TwoWay: return
BindingMode
.TwoWay;
376
case BindingFlags.OneWayToSource: return
BindingMode
.OneWayToSource;
377
case BindingFlags.OneTime: return
BindingMode
.OneTime;
378
case BindingFlags.PropDefault: return
BindingMode
.Default;
389
throw new InvalidEnumArgumentException("value", (int) value, typeof(
BindingMode
));
718
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
System\Windows\Data\BindingBase.cs (8)
336
internal static BindingFlags FlagsFrom(
BindingMode
bindingMode)
340
case
BindingMode
.OneWay: return BindingFlags.OneWay;
341
case
BindingMode
.TwoWay: return BindingFlags.TwoWay;
342
case
BindingMode
.OneWayToSource: return BindingFlags.OneWayToSource;
343
case
BindingMode
.OneTime: return BindingFlags.OneTime;
344
case
BindingMode
.Default: return BindingFlags.PropDefault;
463
internal BindingBase Clone(
BindingMode
mode)
471
internal virtual void InitializeClone(BindingBase clone,
BindingMode
mode)
System\Windows\Data\BindingExpressionBase.cs (4)
2507
internal void ResolvePropertyDefaultSettings(
BindingMode
mode, UpdateSourceTrigger updateTrigger, FrameworkPropertyMetadata fwMetaData)
2510
if (mode ==
BindingMode
.Default)
2526
(f == BindingFlags.OneWay) ?
BindingMode
.OneWay :
BindingMode
.TwoWay),
System\Windows\Data\BindingGroup.cs (1)
1438
binding.Mode =
BindingMode
.TwoWay;
System\Windows\Data\MultiBinding.cs (8)
102
[DefaultValue(
BindingMode
.Default)]
103
public
BindingMode
Mode
109
case BindingFlags.OneWay: return
BindingMode
.OneWay;
110
case BindingFlags.TwoWay: return
BindingMode
.TwoWay;
111
case BindingFlags.OneWayToSource: return
BindingMode
.OneWayToSource;
112
case BindingFlags.OneTime: return
BindingMode
.OneTime;
113
case BindingFlags.PropDefault: return
BindingMode
.Default;
393
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
System\Windows\Data\PriorityBinding.cs (1)
117
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
System\Windows\Documents\Adorner.cs (1)
217
binding.Mode =
BindingMode
.OneWay;
System\Windows\FrameworkTemplate.cs (1)
828
binding.Mode =
BindingMode
.OneWay;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6651
typeof(System.Windows.Data.
BindingMode
), // type
6655
bamlMember.TypeConverterType = typeof(System.Windows.Data.
BindingMode
);
6656
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).Mode = (System.Windows.Data.
BindingMode
)value; };
System\Windows\Shell\WindowChrome.cs (1)
345
Mode =
BindingMode
.OneWay,
PresentationUI (6)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (6)
724
bind.Mode =
BindingMode
.OneWay;
728
bind.Mode =
BindingMode
.OneWay;
776
bind.Mode =
BindingMode
.OneWay;
780
bind.Mode =
BindingMode
.OneWay;
1117
bind.Mode =
BindingMode
.OneWay;
1131
bind.Mode =
BindingMode
.OneWay;
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
120
binding.Mode =
BindingMode
.OneWay;
Microsoft\Windows\Controls\TextSearchInternal.cs (2)
680
binding.Mode =
BindingMode
.OneWay;
929
binding.Mode =
BindingMode
.OneWay;