Class TagSelectorComponentAttribute
- Namespace
- Kentico.Xperience.Admin.Base.FormAnnotations
- Assembly
- Kentico.Xperience.Admin.Base.Shared.dll
Indicates that the TagSelector form component will be used for editing of this property value in the administration interface.
public class TagSelectorComponentAttribute : FormComponentAttribute
- Inheritance
-
objectAttributeTagSelectorComponentAttribute
- Inherited Members
- Extension Methods
Remarks
The underlying property must be of the type 'System.Collections.IEnumerable<TagReference>'.
Constructors
TagSelectorComponentAttribute(string)
Initialize new instance of TagSelectorComponentAttribute.
public TagSelectorComponentAttribute(string taxonomyName)
Parameters
taxonomyName
stringTaxonomy name.
Exceptions
- ArgumentNullException
Thrown when
taxonomyName
isnull
.
Properties
MaxSelectedTagsCount
Maximum number of selected tags.
public int MaxSelectedTagsCount { get; set; }
Property Value
- int
MinSelectedTagsCount
Minimum number of selected tags.
public int MinSelectedTagsCount { get; set; }
Property Value
- int
TaxonomyGroup
Allowed taxonomies identifiers.
public IEnumerable<Guid> TaxonomyGroup { get; }
Property Value
- IEnumerable<Guid>