Search Results for

    Show / Hide Table of Contents
    View Source

    Class VoidEditor

    Represents a void editor.

    Inheritance
    System.Object
    DataEditor
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    public class VoidEditor : DataEditor, IDataEditor, IDiscoverable
    Remarks

    Can be used in some places where an editor is needed but no actual editor is available. Not to be used otherwise. Not discovered, and therefore not part of the editors collection.

    Constructors

    View Source

    VoidEditor(String, IDataValueEditorFactory)

    Initializes a new instance of the VoidEditor class.

    Declaration
    public VoidEditor(string aliasSuffix, IDataValueEditorFactory dataValueEditorFactory)
    Parameters
    Type Name Description
    System.String aliasSuffix

    An optional alias suffix.

    IDataValueEditorFactory dataValueEditorFactory
    Remarks

    The default alias of the editor is "Umbraco.Void". When a suffix is provided, it is appended to the alias. Eg if the suffix is "Foo" the alias is "Umbraco.Void.Foo".

    View Source

    VoidEditor(IDataValueEditorFactory)

    Initializes a new instance of the VoidEditor class.

    Declaration
    public VoidEditor(IDataValueEditorFactory dataValueEditorFactory)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    Remarks

    The alias of the editor is "Umbraco.Void".

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • VoidEditor(String, IDataValueEditorFactory)
      • VoidEditor(IDataValueEditorFactory)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX