Class DefaultValueEditingComponentAttribute
Attribute to be used with DefaultValue property overrides to specify the editing form component. Sets the system properties such as Label or Order to proper values.
public class DefaultValueEditingComponentAttribute : EditingComponentAttribute
- Inheritance
-
objectAttributeDefaultValueEditingComponentAttribute
- Inherited Members
- Extension Methods
Constructors
DefaultValueEditingComponentAttribute(string)
Initializes a new instance of the DefaultValueEditingComponentAttribute class. Sets the Label to a proper localization string and Order to DEFAULT_VALUE.
public DefaultValueEditingComponentAttribute(string formComponentIdentifier)
Parameters
formComponentIdentifier
stringDefines identifier of a FormComponent<TProperties, TValue> registered via RegisterFormComponentAttribute which is used for editing the annotated property from Form builder's UI.
Exceptions
- ArgumentException
Thrown when
formComponentIdentifier
is null or an empty string.