66 references to SetBinding
PresentationFramework (48)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (2)
607
marker.
SetBinding
(Path.StrokeProperty, markerStroke);
610
marker.
SetBinding
(Path.StrokeThicknessProperty, markerStrokeThickness);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
1943
SetBinding
(HorizontalScrollOffsetProperty, horizontalOffsetBinding);
src\Framework\System\Windows\Controls\DatePicker.cs (5)
1076
_calendar.
SetBinding
(Calendar.ForegroundProperty, GetDatePickerBinding(DatePicker.ForegroundProperty));
1077
_calendar.
SetBinding
(Calendar.StyleProperty, GetDatePickerBinding(DatePicker.CalendarStyleProperty));
1078
_calendar.
SetBinding
(Calendar.IsTodayHighlightedProperty, GetDatePickerBinding(DatePicker.IsTodayHighlightedProperty));
1079
_calendar.
SetBinding
(Calendar.FirstDayOfWeekProperty, GetDatePickerBinding(DatePicker.FirstDayOfWeekProperty));
1080
_calendar.
SetBinding
(Calendar.FlowDirectionProperty, GetDatePickerBinding(DatePicker.FlowDirectionProperty));
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1139
fe.
SetBinding
(dp, binding);
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1320
fe.
SetBinding
(dp, binding);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
320
cell.
SetBinding
(TextBlock.TextProperty, binding);
597
cell.
SetBinding
(TextBlock.TextProperty, binding);
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (1)
430
SetBinding
(ItemsSourceProperty, hTemplate.ItemsSource);
src\Framework\System\Windows\Controls\InkCanvas.cs (3)
665
_selectionAdorner.
SetBinding
(UIElement.VisibilityProperty, activeEditingModeBinding);
2122
_inkPresenter.
SetBinding
(InkPresenter.StrokesProperty, strokes);
2329
_innerCanvas.
SetBinding
(Panel.BackgroundProperty, background);
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
508
_currentToolTip.
SetBinding
(ToolTip.ContentProperty, binding);
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (2)
976
dayCell.
SetBinding
(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle"));
1002
monthCell.
SetBinding
(CalendarButton.StyleProperty, GetOwnerBinding("CalendarButtonStyle"));
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
98
elementContent.
SetBinding
(ContentControl.ContentProperty, watermarkBinding);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (9)
921
popup.
SetBinding
(PlacementTargetProperty, binding);
933
popup.
SetBinding
(VerticalOffsetProperty, binding);
938
popup.
SetBinding
(HorizontalOffsetProperty, binding);
943
popup.
SetBinding
(PlacementRectangleProperty, binding);
948
popup.
SetBinding
(PlacementProperty, binding);
953
popup.
SetBinding
(StaysOpenProperty, binding);
958
popup.
SetBinding
(CustomPopupPlacementCallbackProperty, binding);
965
popup.
SetBinding
(TreatMousePlacementAsBottomProperty, binding);
972
popup.
SetBinding
(IsOpenProperty, binding);
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (6)
259
_adornerDecorator.
SetBinding
(WidthProperty, binding);
264
_adornerDecorator.
SetBinding
(HeightProperty, binding);
269
_adornerDecorator.
SetBinding
(MinWidthProperty, binding);
274
_adornerDecorator.
SetBinding
(MinHeightProperty, binding);
279
_adornerDecorator.
SetBinding
(MaxWidthProperty, binding);
284
_adornerDecorator.
SetBinding
(MaxHeightProperty, binding);
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
914
menuItem.
SetBinding
(MenuItem.CommandTargetProperty, binding);
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (2)
682
SetBinding
(target, binding);
720
SetBinding
(ReservedSpaceProperty, binding);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
343
SetBinding
(OrientationProperty, binding);
src\Framework\System\Windows\Controls\Primitives\Track.cs (2)
702
SetBinding
(target, binding);
714
element.
SetBinding
(target, binding);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
1372
SetBinding
(property, binding);
src\Framework\System\Windows\Controls\StickyNote.cs (4)
1513
Content.InnerControl.
SetBinding
(InkCanvas.EditingModeProperty, inkCanvasEditingMode);
1667
inkMenuItem.
SetBinding
(MenuItem.IsCheckedProperty, checkedBind);
1679
selectMenuItem.
SetBinding
(MenuItem.IsCheckedProperty, checkedBind);
1691
eraseMenuItem.
SetBinding
(MenuItem.IsCheckedProperty, checkedBind);
src\Framework\System\Windows\Documents\Adorner.cs (1)
226
adorner.
SetBinding
(FlowDirectionProperty, binding);
src\Framework\System\Windows\FrameworkElement.cs (1)
2778
return (BindingExpression)
SetBinding
(dp, new Binding(path));
System.Activities.Core.Presentation (3)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
949
toolTip.
SetBinding
(UserControl.ContentProperty, binding);
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
62
caseKeyBox.
SetBinding
(CaseKeyBox.ValueProperty, new Binding()
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (1)
71
toolTip.
SetBinding
(TextBlock.TextProperty, new Binding()
System.Activities.Presentation (15)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (2)
348
view.
SetBinding
(DockedAnnotationView.AnnotationTextProperty, annotationTextbinding);
352
view.
SetBinding
(DockedAnnotationView.MaxWidthProperty, maxWidthBinding);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (1)
64
checkBox.
SetBinding
(CheckBox.IsCheckedProperty, binding);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
90
this.
SetBinding
(CategoryContainer.BasicPropertyMatchesFilterProperty, basicMatchesFilterBinding);
95
this.
SetBinding
(CategoryContainer.AdvancedPropertyMatchesFilterProperty, advancedMatchesFilterBinding);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryLayoutContainer.cs (1)
26
contentPresenter.
SetBinding
(ContentPresenter.ContentProperty, contentBinding);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\StandardCategoryLayout.cs (1)
34
propertyContainer.
SetBinding
(PropertyContainer.PropertyEntryProperty, new Binding());
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1517
zoomPicker.
SetBinding
(ComboBox.SelectedItemProperty, new Binding()
1524
zoomPicker.
SetBinding
(ComboBox.TextProperty, new Binding()
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
749
target.
SetBinding
(property, binding);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (2)
291
this.presenter.
SetBinding
(ContentPresenter.ContentProperty, binding);
294
this.presenter.
SetBinding
(ContentPresenter.DataContextProperty, binding);
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
183
this.
SetBinding
(AutomationProperties.NameProperty, automationNameBinding);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
671
textbox.
SetBinding
(TextBox.TextProperty, binding);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
201
this.
SetBinding
(IsReadOnlyProperty, readOnlyBinding);