Gets a list of visual objects with the specified name.

Namespace: Ico.Gwx
Assembly: GwxRuntimeCore (in GwxRuntimeCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public DependencyObject[] GetElementsByName(
	string name
)
Visual Basic
Public Function GetElementsByName ( _
	name As String _
) As DependencyObject()
JScript
public function GetElementsByName(
	name : String
) : DependencyObject[]

Parameters

name
Type: System..::..String
The name of a visual object to find (may include wildcards). This can also be a comma-separated list of names to find.

Return Value

A list of visual objects if found, otherwise an empty list.

Remarks

If multiple objects match the specified wildcard name, all matching objects are returned.

See Also