8 implementations of GetVisualChildren
Microsoft.Maui.Controls (8)
Application\Application.cs (1)
411
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
() => this.Windows;
Cells\Cell.cs (1)
321
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
()
Element\Element.cs (1)
565
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
()
LegacyLayouts\Layout.cs (1)
194
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
() => Children.ToList().AsReadOnly();
ListView\ListView.cs (1)
25
IReadOnlyList<IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
() => _visualChildren;
SwipeView\SwipeView.cs (1)
99
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
()
TableView\TableSection.cs (1)
159
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
() => this._children.Cast<IVisualTreeElement>().ToList().AsReadOnly();
TableView\TableView.cs (1)
171
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.
GetVisualChildren
() => new List<Maui.IVisualTreeElement>() { this.Root };
15 references to GetVisualChildren
Microsoft.Maui (5)
Core\Extensions\VisualTreeElementExtensions.cs (3)
70
foreach (var children in visualElement.
GetVisualChildren
())
262
var children = parent.
GetVisualChildren
();
326
var children = visualElement.
GetVisualChildren
();
ViewExtensions.cs (1)
58
foreach (var child in vte.
GetVisualChildren
())
VisualDiagnostics\VisualDiagnostics.cs (1)
50
var index = parent?.
GetVisualChildren
().IndexOf(child) ?? -1;
Microsoft.Maui.Controls (10)
Cells\Cell.cs (1)
246
PropertyPropagationExtensions.PropagatePropertyChanged(propertyName, this, ((IVisualTreeElement)this).
GetVisualChildren
());
Element\Element_StyleSheets.cs (1)
71
foreach (var child in element.
GetVisualChildren
())
Menu\MenuItem.cs (1)
174
PropertyPropagationExtensions.PropagatePropertyChanged(propertyName, this, ((IVisualTreeElement)this).
GetVisualChildren
());
Shell\BaseShellItem.cs (1)
272
PropertyPropagationExtensions.PropagatePropertyChanged(propertyName, this, ((IVisualTreeElement)this).
GetVisualChildren
());
Shell\Shell.cs (1)
1972
PropertyPropagationExtensions.PropagatePropertyChanged(propertyName, this, ((IVisualTreeElement)this).
GetVisualChildren
());
Shell\ShellItem.cs (1)
136
PropertyPropagationExtensions.PropagatePropertyChanged(propertyName, this, ((IVisualTreeElement)this).
GetVisualChildren
());
Shell\ShellSection.cs (1)
199
PropertyPropagationExtensions.PropagatePropertyChanged(propertyName, this, ((IVisualTreeElement)this).
GetVisualChildren
());
StyleSheets\Style.cs (1)
86
foreach (var child in ((IVisualTreeElement)styleable).
GetVisualChildren
())
VisualElement\VisualElement.cs (1)
1729
PropertyPropagationExtensions.PropagatePropertyChanged(propertyName, this, ((IVisualTreeElement)this).
GetVisualChildren
());
Window\Window.cs (1)
385
((IVisualTreeElement)bindable).
GetVisualChildren
());