BootstrapExtensions.Base.Form.Label.LabelAndControl.Success C# (CSharp) Méthode

Success() public méthode

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