DynamicsBaseHostedControl.FindElement<T> 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.
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
- depObj
- DependencyObject
- elementName
- String
Returns
T
Returns Dispatcher.