Control.ApplyTemplate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the relevant control template so that its parts can be referenced.
public:
virtual bool ApplyTemplate() = ApplyTemplate;
bool ApplyTemplate();
public bool ApplyTemplate();
function applyTemplate()
Public Function ApplyTemplate () As Boolean
Returns
Boolean
bool
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.