Class ElementPickerConfiguration
Represents the configuration for the element picker property editor.
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class ElementPickerConfiguration : IIgnoreUserStartNodesConfig
Constructors
View SourceElementPickerConfiguration()
Declaration
public ElementPickerConfiguration()
Properties
View SourceAllowedContentTypeIds
Gets or sets the content type filter for allowed selections.
Declaration
[ConfigurationField("allowedContentTypes")]
public string? AllowedContentTypeIds { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IgnoreUserStartNodes
Gets or sets a value indicating whether to ignore user start nodes when selecting content.
Declaration
[ConfigurationField("ignoreUserStartNodes")]
public bool IgnoreUserStartNodes { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ValidationLimit
Gets or sets the validation limits for the number of elements allowed.
Declaration
[ConfigurationField("validationLimit")]
public ElementPickerConfiguration.NumberRange? ValidationLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| ElementPickerConfiguration.NumberRange |