HtmlForgeX

API Reference

Class

ValidationStateExtensions

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers static

Extension methods for the ValidationState enum.

Inheritance

  • Object
  • ValidationStateExtensions

Methods

public static String ToFeedbackClass(ValidationState state) #
Returns: String

Returns the CSS class name used for validation feedback elements.

Parameters

state HtmlForgeX.ValidationState requiredposition: 0
public static String ToInputClass(ValidationState state) #
Returns: String

Returns the CSS class name that represents the validation state for an input element.

Parameters

state HtmlForgeX.ValidationState requiredposition: 0