MediaFilesSelectorProperties Class |
Namespace: Kentico.Components.Web.Mvc.FormComponents
public class MediaFilesSelectorProperties : FormComponentProperties<IList<MediaFilesSelectorItem>>
The MediaFilesSelectorProperties type exposes the following members.
Name | Description | |
---|---|---|
MediaFilesSelectorProperties |
Creates an instace of the MediaFilesSelectorProperties class.
|
Name | Description | |
---|---|---|
AllowedExtensions |
Semicolon separated list of allowed file extensions.
| |
DataType |
Gets or sets the underlying field data type.
(Inherited from FormComponentProperties.) | |
DefaultValue |
Default value.
(Overrides FormComponentPropertiesTValueDefaultValue.) | |
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.) | |
LibraryName |
Media library name.
| |
MaxFilesLimit |
Limit of maximum number of files allowed to be selected.
| |
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.) |