protected override void UpdateThemeStyle() { var themeStyle = SpecificVE.GetStyle(Element); if (!string.IsNullOrEmpty(themeStyle)) { Control.Style = themeStyle; } }
protected override void UpdateThemeStyle() { var style = Specific.GetStyle(Element); if (!string.IsNullOrEmpty(style)) { (Control as IButton)?.UpdateStyle(style); ((IVisualElementController)Element).NativeSizeChanged(); } }