GeneralSelectorProperties Class |
Namespace: Kentico.Components.Web.Mvc.FormComponents
public class GeneralSelectorProperties : ObjectSelectorPropertiesBase<GeneralSelectorItem>
The GeneralSelectorProperties type exposes the following members.
Name | Description | |
---|---|---|
GeneralSelectorProperties |
Name | Description | |
---|---|---|
DataProviderType |
Defines the type which provides the data that will be displayed in the selector.
The data provider type must implement the IGeneralSelectorDataProvider interface. | |
DataType |
Gets or sets the underlying field data type.
(Inherited from FormComponentProperties.) | |
DefaultValue |
When overridden in a derived class, gets or sets the default value of the form component and underlying field.
Use the DefaultValueEditingComponentAttribute to specify a form component for editing.
(Inherited from ObjectSelectorPropertiesBaseTItem.) | |
ExplanationText |
Gets or sets the explanation text of the form component.
(Inherited from FormComponentProperties.) | |
Guid |
Gets or sets the underlying field GUID.
(Inherited from FormComponentProperties.) | |
Label |
Gets or sets the label of the form component.
(Inherited from FormComponentProperties.) | |
MaxItemsLimit |
Configures the maximum number of items allowed to be selected.
(Inherited from ObjectSelectorPropertiesBaseTItem.)
| |
Name |
Gets or sets the underlying field name.
(Inherited from FormComponentProperties.) | |
Placeholder |
Gets or sets the value displayed as placeholder in the input.
Override and annotate with EditingComponentAttribute to make this property
editable in properties panel.
(Inherited from FormComponentProperties.) | |
Precision |
Gets or sets the underlying field precision.
(Inherited from FormComponentProperties.) | |
Required |
Gets or sets value indicating whether the underlying field is required. False by default.
If false, the form component's implementation must accept nullable input.
(Inherited from FormComponentProperties.) | |
Size |
Gets or sets the underlying field size.
(Inherited from FormComponentProperties.) | |
SmartField |
Gets or sets value indicating whether the underlying field is smart field. False by default.
(Inherited from FormComponentProperties.) | |
Tooltip |
Gets or sets the tooltip of the form component.
(Inherited from FormComponentProperties.) | |
ValidationRuleConfigurations |
Gets or sets validation rule configurations assigned to the form component.
(Inherited from FormComponentProperties.) | |
VisibilityConditionConfiguration |
Gets or sets visibility condition configuration assigned to the form component.
(Inherited from FormComponentProperties.) |
Name | Description | |
---|---|---|
GetDefaultValue |
Gets the default value. The DefaultValue property can be used
directly to obtain the typed default value.
(Inherited from FormComponentPropertiesTValue.) | |
SetDefaultValue |
Sets the default value to value.
The value must be of type TValue or an exception is thrown.
The DefaultValue property can be used directly to set the typed default value.
(Inherited from FormComponentPropertiesTValue.) |