src/Runtime/Runtime/System.Windows/ResourceDictionary.cs
//
// Note: WPF always returns null
//
/// <summary>
/// Finds the UIElement with the specified name.
/// </summary>
/// <param name="name">The name to look for.</param>
/// <returns>The object with the specified name if any; otherwise null.</returns>
Finds the UIElement with the specified name.
Finds the UIElement with the specified name .
public object FindName(string name)
        {
            if (_nameScopeDictionary.ContainsKey(name))
                return _nameScopeDictionary[name];
            else
                return null;
        }
public object FindName ( string name ) { if ( _nameScopeDictionary . ContainsKey ( name ) ) return _nameScopeDictionary [ name ] ; else return null ; }
Finds the UIElement with the specified name.
Finds the UIElement with the specified name .
The object with the specified name if any; otherwise null.
The object with the specified name if any ; otherwise null .
name
string
The name to look for.
The name to look for .