Skip to content

ControlTemplateContext.Get<T> method

Returns the registered part with the given name and type; throws when missing or mismatched.

public T Get<T>(string name)
where T : Element
parameter description
name The part name.