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(); }
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(); }