Class InvalidComponent
Represents an invalid form component.
public class InvalidComponent : FormComponent<InvalidComponentProperties, string>
- Inheritance
-
objectInvalidComponent
- Inherited Members
- Extension Methods
Constructors
InvalidComponent()
Initializes a new instance of InvalidComponent.
public InvalidComponent()
InvalidComponent(InvalidComponentProperties)
Initializes a new instance of InvalidComponent with given properties
.
public InvalidComponent(InvalidComponentProperties properties)
Parameters
properties
InvalidComponentProperties
Properties
LabelForPropertyName
Returns empty string as the component does not contain any input.
public override string LabelForPropertyName { get; }
Property Value
- string
Methods
GetValue()
Gets the message describing the error of the original component.
public override string GetValue()
Returns
- string
SetValue(string)
Sets the message describing the error of the original component.
public override void SetValue(string value)
Parameters
value
string