105 references to BindingMode
PresentationFramework (74)
src\Framework\MS\Internal\Data\LiveShapingItem.cs (1)
127
binding.Mode =
BindingMode
.OneTime;
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6998
BindingBase binding = _column.ClipboardContentBinding.Clone(
BindingMode
.TwoWay);
src\Framework\System\Windows\Controls\DataGridColumn.cs (2)
1222
binding.Mode =
BindingMode
.OneWay;
1233
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
491
return binding.Mode ==
BindingMode
.OneWay;
498
return multiBinding.Mode ==
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1137
binding.Mode =
BindingMode
.TwoWay;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1318
binding.Mode =
BindingMode
.TwoWay;
src\Framework\System\Windows\Controls\InkCanvas.cs (3)
662
activeEditingModeBinding.Mode =
BindingMode
.OneWay;
2120
strokes.Mode =
BindingMode
.OneWay;
2327
background.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
2203
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
506
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (9)
919
binding.Mode =
BindingMode
.OneWay;
931
binding.Mode =
BindingMode
.OneWay;
936
binding.Mode =
BindingMode
.OneWay;
941
binding.Mode =
BindingMode
.OneWay;
946
binding.Mode =
BindingMode
.OneWay;
951
binding.Mode =
BindingMode
.OneWay;
956
binding.Mode =
BindingMode
.OneWay;
963
binding.Mode =
BindingMode
.OneWay;
970
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (6)
257
binding.Mode =
BindingMode
.OneWay;
262
binding.Mode =
BindingMode
.OneWay;
267
binding.Mode =
BindingMode
.OneWay;
272
binding.Mode =
BindingMode
.OneWay;
277
binding.Mode =
BindingMode
.OneWay;
282
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
912
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
2729
bindingHorizontalOffset.Mode =
BindingMode
.OneWay;
2732
bindingVerticalOffset.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\StickyNote.cs (5)
1497
inkCanvasEditingMode.Mode =
BindingMode
.TwoWay;
1501
stickyNoteInkEditingMode.Mode =
BindingMode
.TwoWay;
1663
checkedBind.Mode =
BindingMode
.OneWay;
1675
checkedBind.Mode =
BindingMode
.OneWay;
1687
checkedBind.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Controls\TextSearch.cs (1)
683
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Data\Binding.cs (9)
372
[DefaultValue(
BindingMode
.Default)]
373
public
BindingMode
Mode
379
case BindingFlags.OneWay: return
BindingMode
.OneWay;
380
case BindingFlags.TwoWay: return
BindingMode
.TwoWay;
381
case BindingFlags.OneWayToSource: return
BindingMode
.OneWayToSource;
382
case BindingFlags.OneTime: return
BindingMode
.OneTime;
383
case BindingFlags.PropDefault: return
BindingMode
.Default;
394
throw new InvalidEnumArgumentException("value", (int) value, typeof(
BindingMode
));
723
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
src\Framework\System\Windows\Data\BindingBase.cs (8)
339
internal static BindingFlags FlagsFrom(
BindingMode
bindingMode)
343
case
BindingMode
.OneWay: return BindingFlags.OneWay;
344
case
BindingMode
.TwoWay: return BindingFlags.TwoWay;
345
case
BindingMode
.OneWayToSource: return BindingFlags.OneWayToSource;
346
case
BindingMode
.OneTime: return BindingFlags.OneTime;
347
case
BindingMode
.Default: return BindingFlags.PropDefault;
466
internal BindingBase Clone(
BindingMode
mode)
474
internal virtual void InitializeClone(BindingBase clone,
BindingMode
mode)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (4)
2508
internal void ResolvePropertyDefaultSettings(
BindingMode
mode, UpdateSourceTrigger updateTrigger, FrameworkPropertyMetadata fwMetaData)
2511
if (mode ==
BindingMode
.Default)
2527
(f == BindingFlags.OneWay) ?
BindingMode
.OneWay :
BindingMode
.TwoWay));
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1440
binding.Mode =
BindingMode
.TwoWay;
src\Framework\System\Windows\Data\MultiBinding.cs (8)
106
[DefaultValue(
BindingMode
.Default)]
107
public
BindingMode
Mode
113
case BindingFlags.OneWay: return
BindingMode
.OneWay;
114
case BindingFlags.TwoWay: return
BindingMode
.TwoWay;
115
case BindingFlags.OneWayToSource: return
BindingMode
.OneWayToSource;
116
case BindingFlags.OneTime: return
BindingMode
.OneTime;
117
case BindingFlags.PropDefault: return
BindingMode
.Default;
398
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
src\Framework\System\Windows\Data\PriorityBinding.cs (1)
120
internal override void InitializeClone(BindingBase baseClone,
BindingMode
mode)
src\Framework\System\Windows\Documents\Adorner.cs (1)
224
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\FrameworkTemplate.cs (1)
832
binding.Mode =
BindingMode
.OneWay;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6609
typeof(System.Windows.Data.
BindingMode
), // type
6613
bamlMember.TypeConverterType = typeof(System.Windows.Data.
BindingMode
);
6614
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).Mode = (System.Windows.Data.
BindingMode
)value; };
src\Framework\System\Windows\Shell\WindowChrome.cs (1)
343
Mode =
BindingMode
.OneWay,
System.Activities.Core.Presentation (8)
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (1)
86
showAllConditionsBinding.Mode =
BindingMode
.OneWay;
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
66
Mode =
BindingMode
.TwoWay
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (1)
91
showAllConditionsBinding.Mode =
BindingMode
.OneWay;
System\Activities\Core\Presentation\FlowSwitchLink.cs (3)
344
new Binding { Source = this, Mode =
BindingMode
.OneWay, Path = new PropertyPath(this.CaseProperty) },
345
new Binding { Source = this, Mode =
BindingMode
.OneWay, Path = new PropertyPath(this.IsDefaultCaseProperty) },
408
result.Bindings.Add(new Binding { Source = this, Mode =
BindingMode
.OneWay, Path = new PropertyPath(this.DefaultCaseDisplayNameProperty) });
System\Activities\Core\Presentation\IfElseDesigner.xaml.cs (1)
46
b.Mode =
BindingMode
.TwoWay;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
198
readOnlyBinding.Mode =
BindingMode
.OneWay;
System.Activities.Presentation (23)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateInfoPresenter.xaml.cs (1)
48
binding.Mode =
BindingMode
.TwoWay;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (1)
61
binding.Mode =
BindingMode
.TwoWay;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
89
basicMatchesFilterBinding.Mode =
BindingMode
.OneWay;
94
advancedMatchesFilterBinding.Mode =
BindingMode
.OneWay;
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
744
binding.Bindings.Add(new Binding() { Path = new PropertyPath("Tag.Timestamp"), Mode =
BindingMode
.OneWay, RelativeSource = RelativeSource.Self });
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (4)
45
searchTextBinding.Mode =
BindingMode
.OneWay;
50
toolItemBinding.Mode =
BindingMode
.OneWay;
67
automationIdBinding.Mode =
BindingMode
.OneWay;
112
automationIdBinding.Mode =
BindingMode
.OneWay;
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (5)
832
Mode =
BindingMode
.OneWay
838
Mode =
BindingMode
.OneWay
864
var objectWrapperBinding = new Binding() { Mode =
BindingMode
.OneTime };
866
var hasErrorsBinding = new Binding() { Mode =
BindingMode
.OneWay, Path = new PropertyPath("HasErrors") };
868
var rowBinding = new Binding() { Mode =
BindingMode
.OneTime, RelativeSource = new RelativeSource(RelativeSourceMode.Self) };
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
820
toggleButtonHelpTextBinding.Mode =
BindingMode
.OneWay;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (5)
737
BindingMode
mode =
BindingMode
.OneWay, IEnumerable<ValidationRule> validationRules = null)
758
SetBinding("InternalHintText", ExpressionActivityEditor.HintTextProperty, editor, expressionTextBox,
BindingMode
.TwoWay);
759
SetBinding("IsSupportedExpression", ExpressionActivityEditor.IsSupportedExpressionProperty, editor, expressionTextBox,
BindingMode
.OneWayToSource, null);
764
SetBinding("Expression", ExpressionActivityEditor.ExpressionProperty, editor, expressionTextBox,
BindingMode
.TwoWay, new Collection<ValidationRule> { new ExpressionValidationRule(expressionTextBox) });
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
668
binding.Mode =
BindingMode
.TwoWay;
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
200
readOnlyBinding.Mode =
BindingMode
.OneWay;
248
multiBinding.Mode =
BindingMode
.OneWay;