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