Ext.Net.ButtonBase.SetIconClass C# (CSharp) Method

SetIconClass() protected method

Sets the CSS class that provides a background image to use as the button's icon. This method also changes the value of the iconCls config internally.
protected SetIconClass ( Icon icon ) : void
icon Icon
return void
        protected virtual void SetIconClass(Icon icon)
        {
            if (this.Icon != Icon.None)
            {
                this.SetIconClass(ResourceManager.GetIconClassName(icon));
            }
            else
            {
                this.SetIconClass("");
            }
        }

Same methods

ButtonBase::SetIconClass ( string cls ) : void