Class MediaPicker3Configuration
Represents the configuration for the media picker value editor.
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class MediaPicker3Configuration : IIgnoreUserStartNodesConfig
Constructors
View SourceMediaPicker3Configuration()
Declaration
public MediaPicker3Configuration()
Properties
View SourceCrops
Gets or sets the configured image crops.
Declaration
[ConfigurationField("crops")]
public MediaPicker3Configuration.CropConfiguration[]? Crops { get; set; }
Property Value
| Type | Description |
|---|---|
| CropConfiguration[] |
EnableLocalFocalPoint
Gets or sets a value indicating whether local focal point editing is enabled.
Declaration
[ConfigurationField("enableLocalFocalPoint")]
public bool EnableLocalFocalPoint { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Filter
Gets or sets the media type filter.
Declaration
[ConfigurationField("filter")]
public string? Filter { 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 |
Multiple
Gets or sets a value indicating whether multiple media items can be selected.
Declaration
[ConfigurationField("multiple")]
public bool Multiple { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
StartNodeId
Gets or sets the start node ID for the media picker.
Declaration
[ConfigurationField("startNodeId")]
public Guid? StartNodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
ValidationLimit
Gets or sets the validation limits for the number of selected items.
Declaration
[ConfigurationField("validationLimit")]
public MediaPicker3Configuration.NumberRange ValidationLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| MediaPicker3Configuration.NumberRange |