/// <summary> /// Builds the visual tree for the /// <see cref="T:System.Windows.Controls.TreeView" /> control when a new /// control template is applied. /// </summary> public override void OnApplyTemplate() { ItemsControlHelper.OnApplyTemplate(); Interaction.OnApplyTemplateBase(); base.OnApplyTemplate(); }
/// <summary> /// Applies control template to the items control. /// </summary> public override void OnApplyTemplate() { ItemsControlHelper.OnApplyTemplate(); base.OnApplyTemplate(); #endif }