콘텐츠로 이동

ElementExtensions.Register<T> method

이 콘텐츠는 아직 번역되지 않았습니다.

Registers an element by name in a template context.

public static T Register<T>(this T control, TemplateContext ctx, string name)
where T : UIElement
parameter description
T Element type.
control Element to register.
ctx Template context.
name Registration name.

The element for chaining.