public override string ToHtmlString() { string expression = ExpressionHelper.GetExpressionText(InitExpression); string labelText = Html.GetLabelText(InitExpression, this.LabelText()); string checkBoxHtml = Html.BuildCheckBoxFor(InitExpression).BuildWith(CheckBoxModifier).ToHtmlStringSafe(); return(LabelHelper.RenderCheckboxLabelHtml(Html, expression, labelText, checkBoxHtml, HtmlAttributes)); }