OnApplyTemplate() private method

Apply a control template to the ItemsControl.
private OnApplyTemplate ( ) : void
return void
 /// <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();
 }
Beispiel #2
0
        /// <summary>
        /// Applies control template to the items control.
        /// </summary>
        public override void OnApplyTemplate()
        {
            ItemsControlHelper.OnApplyTemplate();
            base.OnApplyTemplate();
#endif
        }