public BrowserButtonIcon(string text, string remoteEvent, BrowserIcon icon)
     : base(BrowserElementType.Icon, remoteEvent)
 {
     this.Text      = text;
     this.TextAlign = BrowserTextAlign.right;
     this.Width     = "30px";
     this.Height    = "30px";
     this.Cursor    = "pointer";
     SetPredefinedButtonStyle(icon);
 }
        public void SetPredefinedButtonStyle(BrowserIcon style)
        {
            switch (style)
            {
            case BrowserIcon.ArrowDown:
                this.StyleClass = " fas fa-arrow-alt-circle-up";
                break;

            case BrowserIcon.ArrowUp:
                this.StyleClass = " fas fa-arrow-alt-circle-down";
                break;
            }
        }