Share via


DynamicsBaseHostedControl.FindElement<T> Method

Definition

protected:
generic <typename T>
 where T : System::Windows::DependencyObject static T FindElement(System::Windows::DependencyObject ^ depObj, System::String ^ elementName);
protected static T FindElement<T> (System.Windows.DependencyObject depObj, string elementName) where T : System.Windows.DependencyObject;
static member FindElement : System.Windows.DependencyObject * string -> 'T (requires 'T :> System.Windows.DependencyObject)
Protected Shared Function FindElement(Of T As DependencyObject) (depObj As DependencyObject, elementName As String) As T

Type Parameters

T

Parameters

elementName
String

Returns

T

Returns Dispatcher.

Applies to