コード例 #1
0
        /// <summary>
        /// Applies control template to the items control.
        /// </summary>
        public override void OnApplyTemplate()
        {
            ItemsControlHelper.OnApplyTemplate();
            base.OnApplyTemplate();
#endif
        }
コード例 #2
0
 /// <summary>
 /// ItemContainerStyleProperty property changed handler.
 /// </summary>
 /// <param name="newValue">New value.</param>
 protected virtual void OnItemContainerStyleChanged(Style newValue)
 {
     ItemsControlHelper.UpdateItemContainerStyle(newValue);
 }