Table of Contents

Class GeneralSelectorComponentAttribute

Namespace
Kentico.Xperience.Admin.Base.FormAnnotations
Assembly
Kentico.Xperience.Admin.Base.Shared.dll

Indicates that the General selector form component will be used for editing of this property value in the administration interface.

public sealed class GeneralSelectorComponentAttribute : GeneralSelectorComponentAttributeBase
Inheritance
object
Attribute
GeneralSelectorComponentAttribute
Inherited Members
Extension Methods

Remarks

The underlying property must be of the type 'System.Collections.Generic.IEnumerable<T>'.

Constructors

GeneralSelectorComponentAttribute(Type)

Creates an instance of GeneralSelectorComponentAttribute.

public GeneralSelectorComponentAttribute(Type dataProviderType)

Parameters

dataProviderType Type

CLR type of the data provider.

Properties

MaximumItems

Maximum amount of selectable objects in the selector. Defaults to 0 (unlimited).

public int MaximumItems { get; set; }

Property Value

int

Remarks

Following values can be used to limit the maximum number of objects:

  • 0number of selectable objects is unlimited
  • 1single page may be selected
  • Nup to N objects may be selected