Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Calendar.OnApplyTemplate Method ()


Builds the visual tree for the Calendar control when a new template is applied.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override void OnApplyTemplate()

This method is invoked whenever application code or an internal process, such as rebuilding layout pass, calls the ApplyTemplate method.

.NET Framework
Available since 4.0
Available since 2.0
Return to top
© 2016 Microsoft