OnApplyTemplate Method

DatePicker.OnApplyTemplate Method ()


Builds the visual tree for the DatePicker 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
© 2015 Microsoft