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