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();
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.

Applies to