Class AssetSelectorComponentAttribute
- Namespace
- Kentico.Xperience.Admin.Base.FormAnnotations
- Assembly
- Kentico.Xperience.Admin.Base.Shared.dll
Indicates that the AssetSelector form component will be used for editing of this property value in the administration interface.
[Obsolete("Media libraries and their APIs are obsolete and will be discontinued in the future. Please migrate all media library files to Content hub and use their corresponding content item APIs.", false)]
public class AssetSelectorComponentAttribute : FormComponentAttribute
- Inheritance
-
objectAttributeAssetSelectorComponentAttribute
- Inherited Members
- Extension Methods
Remarks
The underlying property must be of the type 'System.Collections.IEnumerable<AssetRelatedItem>'.
Constructors
AssetSelectorComponentAttribute()
public AssetSelectorComponentAttribute()
Properties
AllowedExtensions
File extensions allowed in the selector.
public string AllowedExtensions { get; set; }
Property Value
- string
MaximumAssets
Maximum amount of assets in the selector.
public int MaximumAssets { get; set; }
Property Value
- int