/// <summary> /// Makes the button block. /// </summary> /// <param name="button">The button instance that this method extends.</param> /// <returns>Current component.</returns> public static ButtonBase Block(this ButtonBase button) { button.AddCssClass(string.Format("{0}-block", button.GetBaseClass())); return(button); }