編輯

共用方式為


TabControl.OnApplyTemplate Method

Definition

Called when ApplyTemplate() is called.

public:
 override void OnApplyTemplate();
public override void OnApplyTemplate ();
override this.OnApplyTemplate : unit -> unit
Public Overrides Sub OnApplyTemplate ()

Remarks

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

Applies to