UILibraryExtensions Class
Namespace: Stride.EngineAssembly: Stride.UI.dll
System.Object →
UILibraryExtensions
Derived from UILibraryExtensions:
public static class UILibraryExtensions
| Name | Description | |
|---|---|---|
| Methods | ||
| InstantiateElement<TElement>(UILibrary, String) | Instantiates a copy of the element of the library identified by |
|
Methods
InstantiateElement<TElement>(UILibrary, String)
Instantiates a copy of the element of the library identified by name.
public static TElement InstantiateElement<TElement>(this UILibrary library, string name)
where TElement : UIElement
Parameters
| Type | Name | Description |
|---|---|---|
| UILibrary | library | The library. |
| System.String | name | The name of the element in the library. |
Returns
| Type | Description |
|---|---|
| TElement |
Type Parameters
| Name | Description |
|---|---|
| TElement | The type of the element. |