Gets the visual object with the specified name.
Namespace: Ico.GwxAssembly: GwxRuntimeCore (in GwxRuntimeCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public DependencyObject GetElementByName( string name ) |
Visual Basic |
---|
Public Function GetElementByName ( _ name As String _ ) As DependencyObject |
JScript |
---|
public function GetElementByName( name : String ) : DependencyObject |
Parameters
- name
- Type: System..::..String
The name of a visual object to find (may include wildcards).
Return Value
A visual object if found, otherwise null.Remarks
If multiple objects match the specified wildcard name, the first matching object found is returned.