PanelLayoutBase.GetListOf<T>(UIElementCollection) 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.
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>