View Source
Class RichTextPropertyEditor
Represents a rich text property editor.
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class RichTextPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View Source
RichTextPropertyEditor(IDataValueEditorFactory, IIOHelper, IRichTextPropertyIndexValueFactory)
The constructor will setup the property editor based on the attribute if one is found.
Declaration
public RichTextPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, IRichTextPropertyIndexValueFactory richTextPropertyIndexValueFactory)
Parameters
Properties
View Source
PropertyIndexValueFactory
Declaration
public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
Property Value
View Source
SupportsConfigurableElements
Declaration
public override bool SupportsConfigurableElements { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
View Source
CanMergePartialPropertyValues(IPropertyType)
Declaration
public override bool CanMergePartialPropertyValues(IPropertyType propertyType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
CreateConfigurationEditor()
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
View Source
CreateValueEditor()
Create a custom value editor
Declaration
protected override IDataValueEditor CreateValueEditor()
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 |
System.Object |
sourceValue |
The source property value.
|
System.Object |
targetValue |
The target property value.
|
System.String |
culture |
The culture (or null for invariant).
|
Returns
Type |
Description |
System.Object |
The result of the merge operation.
|
View Source
MergeVariantInvariantPropertyValue(Object, Object, Boolean, HashSet<String>)
Declaration
public override object MergeVariantInvariantPropertyValue(object sourceValue, object targetValue, bool canUpdateInvariantData, HashSet<string> allowedCultures)
Parameters
Type |
Name |
Description |
System.Object |
sourceValue |
|
System.Object |
targetValue |
|
System.Boolean |
canUpdateInvariantData |
|
HashSet<System.String> |
allowedCultures |
|
Returns
Type |
Description |
System.Object |
|