View Source
Class GridPropertyEditor
Represents a grid property and parameter editor.
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.Grid", "Grid layout", "grid", HideLabel = true, ValueType = "JSON", Icon = "icon-layout", Group = "Rich Content")]
public class GridPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View Source
GridPropertyEditor(ILogger, IUmbracoContextAccessor, HtmlImageSourceParser, RichTextEditorPastedImages, HtmlLocalLinkParser)
Declaration
[Obsolete("Use the constructor which takes an IHtmlSanitizer")]
public GridPropertyEditor(ILogger logger, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, RichTextEditorPastedImages pastedImages, HtmlLocalLinkParser localLinkParser)
Parameters
View Source
GridPropertyEditor(ILogger, IUmbracoContextAccessor, HtmlImageSourceParser, RichTextEditorPastedImages, HtmlLocalLinkParser, IImageUrlGenerator)
Declaration
[Obsolete("Use the constructor which takes an IHtmlSanitizer")]
public GridPropertyEditor(ILogger logger, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, RichTextEditorPastedImages pastedImages, HtmlLocalLinkParser localLinkParser, IImageUrlGenerator imageUrlGenerator)
Parameters
View Source
GridPropertyEditor(ILogger, IUmbracoContextAccessor, HtmlImageSourceParser, RichTextEditorPastedImages, HtmlLocalLinkParser, IImageUrlGenerator, IHtmlSanitizer)
Declaration
public GridPropertyEditor(ILogger logger, IUmbracoContextAccessor umbracoContextAccessor, HtmlImageSourceParser imageSourceParser, RichTextEditorPastedImages pastedImages, HtmlLocalLinkParser localLinkParser, IImageUrlGenerator imageUrlGenerator, IHtmlSanitizer htmlSanitizer)
Parameters
Properties
View Source
PropertyIndexValueFactory
Declaration
public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
Property Value
Methods
View Source
CreateConfigurationEditor()
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
View Source
CreateValueEditor()
Overridden to ensure that the value is validated
Declaration
protected override IDataValueEditor CreateValueEditor()
Returns