Table of Contents

Class ObjectSelectorPropertiesBase<TItem>

Namespace
Kentico.Components.Web.Mvc.Selectors
Assembly
Kentico.Content.Web.Mvc.dll

The base properties that are common for components using the object selector user interface and client API.

public class ObjectSelectorPropertiesBase<TItem> : FormComponentProperties<IEnumerable<TItem>>, IObjectSelectorPropertiesBase

Type Parameters

TItem
Inheritance
object
FormComponentProperties<IEnumerable<TItem>>
ObjectSelectorPropertiesBase<TItem>
Implements
Derived
Inherited Members
Extension Methods

Constructors

ObjectSelectorPropertiesBase()

Creates an instance of the ObjectSelectorPropertiesBase<TItem> class.

public ObjectSelectorPropertiesBase()

Remarks

The constructor initializes the base class to data type Unknown.

Properties

DefaultValue

When overridden in a derived class, gets or sets the default value of the form component and underlying field. Use the DefaultValueEditingComponentAttribute to specify a form component for editing.

public override IEnumerable<TItem> DefaultValue { get; set; }

Property Value

IEnumerable<TItem>

MaxItemsLimit

Configures the maximum number of items allowed to be selected.

  • 0unlimited items;
  • Nat most N items.
Default value is 1.
public int MaxItemsLimit { get; set; }

Property Value

int