OnApplyTemplate() private method

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