Control.ApplyTemplate Method

Definition

Loads the relevant control template so that its parts can be referenced.

C#
public bool ApplyTemplate();

Returns

Boolean

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

Proizvod Verzije
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6