Table of Contents

Class ContentItemSelectorProperties

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

Represents properties of the ContentItemSelectorComponent.

public sealed class ContentItemSelectorProperties : ContentItemSelectorBaseProperties, IFormComponentProperties
Inheritance
object
ContentItemSelectorProperties
Implements
Inherited Members
Extension Methods

Properties

AllowContentItemCreation

Allow content item creation.

public bool AllowContentItemCreation { get; }

Property Value

bool

AllowedContentItemTypeIdentifiers

Marks supported content item types.

[ObjectGuidSelectorComponent("cms.contenttype", WhereConditionProviderType = typeof(ContentItemSelectorContentTypesWhereConditionProvider), Label = "{$base.forms.contentitem.selector.contentitemtypes.label$}", Tooltip = "{$base.forms.contentitem.selector.contentitemtypes.tooltip$}", Placeholder = "{$base.forms.contentitem.selector.contentitemtypes.placeholder$}", MaximumItems = 0, Order = 1)]
[RequiredValidationRule]
[VisibleIfEqualTo("SelectionType", "contentTypes")]
public override IEnumerable<Guid> AllowedContentItemTypeIdentifiers { get; }

Property Value

IEnumerable<Guid>

AllowedContentItemTypeIdentifiersFilter

A filter class to mark supported content types. It must implement IContentTypesFilter interface.

public Type AllowedContentItemTypeIdentifiersFilter { get; }

Property Value

Type

Remarks

AllowedReusableFieldSchemaIdentifiersFilter

A filter class to mark supported reusable field schemas. It must implement IReusableFieldSchemasFilter interface.

public Type AllowedReusableFieldSchemaIdentifiersFilter { get; }

Property Value

Type

Remarks

AllowedSchemaIdentifiers

Marks supported reusable field schemas.

[GeneralSelectorComponent(typeof(ContentItemSelectorSchemaOptionsProvider), Label = "{$base.forms.contentitem.selector.reusableschemas.label$}", Tooltip = "{$base.forms.contentitem.selector.reusableschemas.tooltip$}", Placeholder = "{$base.forms.contentitem.selector.reusableschemas.placeholder$}", MaximumItems = 1, Order = 2)]
[RequiredValidationRule]
[VisibleIfEqualTo("SelectionType", "reusableFieldSchemas")]
public override IEnumerable<string> AllowedSchemaIdentifiers { get; }

Property Value

IEnumerable<string>

Remarks

Stores reusable field schema guids as strings.

DefaultViewMode

Default view mode of the selector, see ContentItemSelectorViewMode.

public ContentItemSelectorViewMode DefaultViewMode { get; set; }

Property Value

ContentItemSelectorViewMode

SelectionType

Specifies the selector selection type.

public override string SelectionType { get; }

Property Value

string
See Also
ContentItemSelectorSelectionType