View Source
Class BlockGridPropertyEditor
Represents a block list property editor.
Assembly: Umbraco.Infrastructure.dll
Syntax
[DataEditor("Umbraco.BlockGrid", ValueType = "JSON")]
public class BlockGridPropertyEditor : BlockGridPropertyEditorBase, IDataEditor, IDiscoverable
Constructors
View Source
BlockGridPropertyEditor(IDataValueEditorFactory, IIOHelper, IBlockValuePropertyIndexValueFactory)
Declaration
public BlockGridPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory)
Parameters
Properties
View Source
SupportsConfigurableElements
Declaration
public override bool SupportsConfigurableElements { get; }
Property Value
Methods
View Source
CanMergePartialPropertyValues(IPropertyType)
Declaration
public override bool CanMergePartialPropertyValues(IPropertyType propertyType)
Parameters
Returns
View Source
CreateConfigurationEditor()
Creates a configuration editor instance.
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
View Source
MergePartialPropertyValueForCulture(object?, object?, string?)
Partially merges a source property value into a target property value for a given culture.
Declaration
public override object? MergePartialPropertyValueForCulture(object? sourceValue, object? targetValue, string? culture)
Parameters
| Type |
Name |
Description |
| object |
sourceValue |
The source property value.
|
| object |
targetValue |
The target property value.
|
| string |
culture |
The culture (or null for invariant).
|
Returns
| Type |
Description |
| object |
The result of the merge operation.
|
View Source
MergeVariantInvariantPropertyValue(object?, object?, bool, HashSet<string>)
Declaration
public override object? MergeVariantInvariantPropertyValue(object? sourceValue, object? targetValue, bool canUpdateInvariantData, HashSet<string> allowedCultures)
Parameters
| Type |
Name |
Description |
| object |
sourceValue |
|
| object |
targetValue |
|
| bool |
canUpdateInvariantData |
|
| HashSet<string> |
allowedCultures |
|
Returns