Beispiel #1
0
        protected override void UpdateThemeStyle()
        {
            var themeStyle = SpecificVE.GetStyle(Element);

            if (!string.IsNullOrEmpty(themeStyle))
            {
                Control.Style = themeStyle;
            }
        }
Beispiel #2
0
        protected override void UpdateThemeStyle()
        {
            var style = Specific.GetStyle(Element);

            if (!string.IsNullOrEmpty(style))
            {
                (Control as IButton)?.UpdateStyle(style);
                ((IVisualElementController)Element).NativeSizeChanged();
            }
        }