Class NameScope
- Namespace
- Forma.Xaml
- Assembly
- Forma.dll
public sealed class NameScope
- Inheritance
-
NameScope
- Inherited Members
-
Constructors
Methods
public static NameScope CreateForTree(Control root)
Parameters
root Control
Returns
- NameScope
public object Find(string name)
Parameters
name string
Returns
- object
public static Control FindControlByName(Control root, string name)
Parameters
root Control
name string
Returns
- Control
public static Control FindControlByOrdinal(Control root, int ordinal)
Parameters
root Control
ordinal int
Returns
- Control
public T Find<T>(string name) where T : class
Parameters
name string
Returns
- T
Type Parameters
T
public static NameScope GetNameScope(object owner)
Parameters
owner object
Returns
- NameScope
public void Register(string name, object value)
Parameters
name string
value object
public static void SetNameScope(object owner, NameScope scope)
Parameters
owner object
scope NameScope
public bool Unregister(string name)
Parameters
name string
Returns
- bool