Share via


IVisualTreeElement.GetVisualChildren Method

Definition

Gets a readonly list of the element's visual children.

public:
 System::Collections::Generic::IReadOnlyList<Microsoft::Maui::IVisualTreeElement ^> ^ GetVisualChildren();
public System.Collections.Generic.IReadOnlyList<Microsoft.Maui.IVisualTreeElement> GetVisualChildren ();
abstract member GetVisualChildren : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.Maui.IVisualTreeElement>
Public Function GetVisualChildren () As IReadOnlyList(Of IVisualTreeElement)

Returns

A readonly list containing the element's visual children.

Remarks

Unless explicitly defined, an element's visual children will also be its logical children.

Applies to