Table of Contents

Class TagSelectorProperties

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

Represents properties of the TagSelectorComponent.

public sealed class TagSelectorProperties : FormComponentProperties, IFormComponentProperties
Inheritance
object
TagSelectorProperties
Implements
Inherited Members
Extension Methods

Properties

MaxSelectedTagsCount

Maximum number of selected tags.

[IntegerFieldComparisonValidationRule(NumericFieldComparisonTypes.GreaterThanOrEqual, "MinSelectedTagsCount", true)]
[MinimumIntegerValueValidationRule(0)]
public int? MaxSelectedTagsCount { get; set; }

Property Value

int?

MinSelectedTagsCount

Minimum number of selected tags.

[IntegerFieldComparisonValidationRule(NumericFieldComparisonTypes.LessThanOrEqual, "MaxSelectedTagsCount", true)]
[MinimumIntegerValueValidationRule(0)]
public int? MinSelectedTagsCount { get; set; }

Property Value

int?

TaxonomyGroup

Taxonomy group from which tags will be selected.

[ObjectGuidSelectorComponent("cms.taxonomy", Label = "{$base.forms.taxonomy.selector.taxonomygroup.label$}", Tooltip = "{$base.forms.taxonomy.selector.taxonomygroup.tooltip$}", Placeholder = "{$base.forms.taxonomy.selector.taxonomygroup.placeholder$}")]
[RequiredValidationRule]
public IEnumerable<Guid> TaxonomyGroup { get; }

Property Value

IEnumerable<Guid>