Search Results for

    Show / Hide Table of Contents
    View Source

    Class MissingPropertyEditor

    Represents a temporary representation of an editor for cases where a data type is created but not editor is available.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    public class MissingPropertyEditor : IDataEditor, IDiscoverable

    Constructors

    View Source

    MissingPropertyEditor()

    Declaration
    [Obsolete("Use the non-obsolete constructor instead. Scheduled for removal in Umbraco 18.")]
    public MissingPropertyEditor()
    View Source

    MissingPropertyEditor(string, IDataValueEditorFactory)

    Initializes a new instance of the MissingPropertyEditor class.

    Declaration
    public MissingPropertyEditor(string missingEditorAlias, IDataValueEditorFactory dataValueEditorFactory)
    Parameters
    Type Name Description
    string missingEditorAlias
    IDataValueEditorFactory dataValueEditorFactory

    Properties

    View Source

    Alias

    Gets the alias of the editor.

    Declaration
    public string Alias { get; }
    Property Value
    Type Description
    string
    View Source

    DefaultConfiguration

    Gets the configuration for the value editor.

    Declaration
    public IDictionary<string, object> DefaultConfiguration { get; }
    Property Value
    Type Description
    IDictionary<string, object>
    View Source

    IsDeprecated

    Gets a value indicating whether the editor is deprecated.

    Declaration
    public bool IsDeprecated { get; }
    Property Value
    Type Description
    bool
    Remarks

    Deprecated editors are supported but not proposed in the UI.

    View Source

    Name

    Gets the name of the editor.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    View Source

    PropertyIndexValueFactory

    Gets the index value factory for the editor.

    Declaration
    public IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
    Property Value
    Type Description
    IPropertyIndexValueFactory
    View Source

    SupportsReadOnly

    Declaration
    public bool SupportsReadOnly { get; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    GetConfigurationEditor()

    Gets an editor to edit the value editor configuration.

    Declaration
    public IConfigurationEditor GetConfigurationEditor()
    Returns
    Type Description
    IConfigurationEditor
    Remarks

    Is expected to throw if the editor does not support being configured, e.g. for most parameter editors.

    View Source

    GetValueEditor()

    Gets a value editor.

    Declaration
    public IDataValueEditor GetValueEditor()
    Returns
    Type Description
    IDataValueEditor
    View Source

    GetValueEditor(object?)

    Gets a configured value editor.

    Declaration
    public IDataValueEditor GetValueEditor(object? configurationObject)
    Parameters
    Type Name Description
    object configurationObject
    Returns
    Type Description
    IDataValueEditor
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX