FrameworkElementExtensions.FindChildren(FrameworkElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Find all logical child elements of the specified element. This method can be chained with LINQ calls to add additional filters or projections on top of the returned results.
This method is meant to provide extra flexibility in specific scenarios and it should not be used when only the first item is being looked for. In those cases, use one of the available FindChild<T>(FrameworkElement) overloads instead, which will offer a more compact syntax as well as better performance in those cases.
public static System.Collections.Generic.IEnumerable<Windows.UI.Xaml.FrameworkElement> FindChildren (this Windows.UI.Xaml.FrameworkElement element);
static member FindChildren : Windows.UI.Xaml.FrameworkElement -> seq<Windows.UI.Xaml.FrameworkElement>
<Extension()>
Public Iterator Function FindChildren (element As FrameworkElement) As IEnumerable(Of FrameworkElement)
Parameters
- element
- Windows.UI.Xaml.FrameworkElement
The root element.
Returns
All the child Windows.UI.Xaml.FrameworkElement instance from element
.