68 references to SetInheritedBindingContext
Microsoft.Maui.Controls (67)
BindableObject.cs (2)
397 SetInheritedBindingContext(buttonBehavior, BindingContext); 400 SetInheritedBindingContext(searchHandler, BindingContext);
BindableObjectExtensions.cs (1)
33 => PropagateBindingContext(self, children, BindableObject.SetInheritedBindingContext);
Border\Border.cs (2)
115 SetInheritedBindingContext(stroke, BindingContext); 136 SetInheritedBindingContext(stroke, null);
Button\Button.cs (1)
378 SetInheritedBindingContext(image, BindingContext);
Cells\Cell.cs (2)
188 SetInheritedBindingContext(_contextActions[i], BindingContext); 253 SetInheritedBindingContext(_contextActions[i], BindingContext);
Cells\ImageCell.cs (2)
36 SetInheritedBindingContext(ImageSource, BindingContext); 51 SetInheritedBindingContext(newvalue, BindingContext);
ContentPage\ContentPage.cs (2)
50 SetInheritedBindingContext(content, BindingContext); 64 SetInheritedBindingContext(content, BindingContext);
ContentView\ContentView.cs (3)
27 SetInheritedBindingContext(content, BindingContext); 37 SetInheritedBindingContext(content, BindingContext); 43 SetInheritedBindingContext(child, context);
Element\Element.cs (4)
427 SetInheritedBindingContext(this, null); 583 SetInheritedBindingContext(item, BindingContext); 783 SetInheritedBindingContext(bindableObject, BindingContext); 801 SetInheritedBindingContext(child, context);
FormattedString.cs (1)
26 SetInheritedBindingContext(Spans[i], BindingContext);
GradientBrush.cs (1)
45 SetInheritedBindingContext(gradientStop, BindingContext);
ImageElement.cs (1)
105 BindableObject.SetInheritedBindingContext(image.Source, visualElement?.BindingContext);
Items\ItemsView.cs (3)
118 SetInheritedBindingContext(boOld, null); 121 SetInheritedBindingContext(boNew, bindable.BindingContext); 226 SetInheritedBindingContext(bo, BindingContext);
Label\Label.cs (1)
127 SetInheritedBindingContext(FormattedText, this.BindingContext);
Layout\Grid.cs (2)
364 SetInheritedBindingContext(rowDefs[i], bindingContext); 370 SetInheritedBindingContext(colDefs[i], bindingContext);
LegacyLayouts\Grid.cs (2)
278 SetInheritedBindingContext(rowdef, bindingContext); 288 SetInheritedBindingContext(coldef, bindingContext);
Page\Page.cs (3)
491 SetInheritedBindingContext(toolbarItem, BindingContext); 496 SetInheritedBindingContext(menubarItem, BindingContext); 500 SetInheritedBindingContext(TitleView, BindingContext);
Shapes\Shape.cs (6)
202 SetInheritedBindingContext(fill, BindingContext); 223 SetInheritedBindingContext(fill, null); 237 SetInheritedBindingContext(stroke, BindingContext); 258 SetInheritedBindingContext(stroke, null); 368 SetInheritedBindingContext(Fill, BindingContext); 371 SetInheritedBindingContext(Stroke, BindingContext);
Shell\MenuShellItem.cs (1)
60 SetInheritedBindingContext(MenuItem, BindingContext);
Shell\Shell.cs (7)
41 SetInheritedBindingContext(oldHandlerProperties, null); 43 SetInheritedBindingContext(newHandlerProperties, bindable.BindingContext); 97 SetInheritedBindingContext(oldHandler, null); 99 SetInheritedBindingContext(newHandler, bindable.BindingContext); 1492 SetInheritedBindingContext(FlyoutHeaderView, BindingContext); 1495 SetInheritedBindingContext(FlyoutFooterView, BindingContext); 1498 SetInheritedBindingContext(FlyoutContentView, BindingContext);
Shell\ShellSection.cs (1)
1025 SetInheritedBindingContext(shellContent, BindingContext);
SwipeView\SwipeView.cs (4)
127 SetInheritedBindingContext(LeftItems, BindingContext); 128 SetInheritedBindingContext(RightItems, BindingContext); 129 SetInheritedBindingContext(TopItems, BindingContext); 130 SetInheritedBindingContext(BottomItems, BindingContext);
TableView\TableSection.cs (2)
144 SetInheritedBindingContext(child, bc); 155 SetInheritedBindingContext(item, bc);
TableView\TableView.cs (2)
83 SetInheritedBindingContext(_tableModel.Root, BindingContext); 123 SetInheritedBindingContext(Root, BindingContext);
TemplateUtilities.cs (1)
74 BindableObject.SetInheritedBindingContext(newElement, bindable.BindingContext);
VisualElement\VisualElement.cs (7)
319 SetInheritedBindingContext(background, BindingContext); 339 SetInheritedBindingContext(background, null); 1543 SetInheritedBindingContext(stateTrigger, BindingContext); 2148 SetInheritedBindingContext(shadow, BindingContext); 2166 SetInheritedBindingContext(shadow, null); 2179 SetInheritedBindingContext(Background, BindingContext); 2185 SetInheritedBindingContext(Shadow, BindingContext);
WebView\WebView.cs (3)
30 SetInheritedBindingContext(source, webview.BindingContext); 207 SetInheritedBindingContext(source, BindingContext); 218 SetInheritedBindingContext(source, BindingContext);
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Platform.cs (1)
244 BindableObject.SetInheritedBindingContext(Page, base.BindingContext);