TabControl.OnApplyTemplate Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Called when ApplyTemplate is called.

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

public override void OnApplyTemplate()

This method updates the SelectedContent, SelectedContentTemplate, and SelectedContentTemplateSelector properties to the objects used by the currently selected TabItem.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Return to top
Show: