TemplateContext.Register<T> method
이 콘텐츠는 아직 번역되지 않았습니다.
Names an element for later Get. Names are unique within one context and outlive Reset, so register once from the build step.
public void Register<T>(string name, T element) where T : UIElementExceptions
Section titled “Exceptions”| exception | condition |
|---|---|
| InvalidOperationException | An element is already registered under that name. |
See Also
Section titled “See Also”- class UIElement
- class TemplateContext
- namespace Aprillz.MewUI.Controls