Control.ApplyTemplate Method
Definition
Loads the relevant control template so that its parts can be referenced.
public:
virtual bool ApplyTemplate() = ApplyTemplate;
bool ApplyTemplate();
public bool ApplyTemplate();
Public Function ApplyTemplate () As Boolean
Returns
A value that indicates whether the visual tree was rebuilt by this call. True if the tree was rebuilt; false if the previous visual tree was retained.