Partager via


PanelLayoutBase.GetListOf<T>(UIElementCollection) Method

Definition

Gets the list of elements on the panel.

public:
generic <typename T>
 where T : class System::Collections::Generic::List<T> ^ GetListOf(System::Windows::Controls::UIElementCollection ^ pList);
public System.Collections.Generic.List<T> GetListOf<T> (System.Windows.Controls.UIElementCollection pList) where T : class;
member this.GetListOf : System.Windows.Controls.UIElementCollection -> System.Collections.Generic.List<'T (requires 'T : null)> (requires 'T : null)
Public Function GetListOf(Of T As Class) (pList As UIElementCollection) As List(Of T)

Type Parameters

T

Specifies the list.

Parameters

pList
UIElementCollection

Specifies a pointer to the list.

Returns

List<T>

Applies to