protected internal override void NativeInit()
        {
            if (this.NativeUIElement != null)
            {
                this.NativeOnbackgroundChange();
                this.NativeForeground = this.Foreground;
                this.NativeFontSize   = this.FontSize;
                this.NativeFontWeight = this.FontWeight;
                this.nativeFontFamily = this.FontFamily;
                if (this.ReadValueFromStyle(Control.TemplateProperty) != DependencyProperty.UnsetValue)
                {
                    this.OnTemplateChanged(null, this.Template);
                }
            }

            base.NativeInit();
        }
Beispiel #2
0
        protected internal override void NativeInit()
        {
            if (this.NativeUIElement != null)
            {
                this.NativeOnbackgroundChange();
                this.NativeForeground = this.Foreground;
                this.NativeFontSize = this.FontSize;
                this.NativeFontWeight = this.FontWeight;
                this.nativeFontFamily = this.FontFamily;
                if (this.ReadValueFromStyle(Control.TemplateProperty) != DependencyProperty.UnsetValue)
                {
                    this.OnTemplateChanged(null, this.Template);
                }
            }

            base.NativeInit();
        }