Пример #1
0
        public override void OnApplyTemplate()
#endif
        {
            ApplyingTemplate();

            AppendCheck(Content);

            ButtonBaseHelper.ApplyForegroundToFillBinding(GetTemplateChild(ButtonBaseConstants.ContentBodyName) as ContentControl);
            ButtonBaseHelper.ApplyTitleOffset(GetTemplateChild(ButtonBaseConstants.ContentTitleName) as ContentControl);

            base.OnApplyTemplate();
        }
        public override void OnApplyTemplate()
#endif
        {
            base.OnApplyTemplate();

            ApplyingTemplate();

            AppendCheck(Content);

            IsEnabledStateChanged();

            ButtonBaseHelper.ApplyTitleOffset(GetTemplateChild(ButtonBaseConstants.ContentTitleName) as ContentControl);
        }