Table of Contents

Class UILibraryExtensions

Namespace
Stride.Engine
Assembly
Stride.UI.dll
public static class UILibraryExtensions
Inheritance
UILibraryExtensions

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

library UILibrary

The library.

name string

The name of the element in the library.

Returns

TElement

Type Parameters

TElement

The type of the element.