Class DefaultPropertyValueConverterAttribute
Indicates that this is a default property value converter (shipped with Umbraco)
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class DefaultPropertyValueConverterAttribute : Attribute
Constructors
View SourceDefaultPropertyValueConverterAttribute()
Declaration
public DefaultPropertyValueConverterAttribute()
DefaultPropertyValueConverterAttribute(Type[])
Declaration
public DefaultPropertyValueConverterAttribute(params Type[] convertersToShadow)
Parameters
Type | Name | Description |
---|---|---|
Type[] | convertersToShadow |
Properties
View SourceDefaultConvertersToShadow
A DefaultPropertyValueConverter can 'shadow' other default property value converters so that a DefaultPropertyValueConverter can be more specific than another one.
Declaration
public Type[] DefaultConvertersToShadow { get; }
Property Value
Type | Description |
---|---|
Type[] |
Remarks
An example where this is useful is that both the MultiUrlPickerValueConverter and the JsonValueConverter will be returned as value converters for the Related Links Property editor, however the JsonValueConverter is a very generic converter and the MultiUrlPickerValueConverter is more specific than it, so the MultiUrlPickerValueConverter can specify that it 'shadows' the JsonValueConverter.