콘텐츠로 이동

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 : UIElement
exception condition
InvalidOperationException An element is already registered under that name.