BootstrapExtensions.Base.Form.Label.LabelAndControl.Success C# (CSharp) Method

Success() public method

public Success ( bool condition = true ) : LabelAndControl
condition bool
return LabelAndControl
        public LabelAndControl Success(bool condition = true)
        {
            if (condition) HtmlAttributes["class"] = "success";
            return this;
        }