Class VoidEditor
Represents a void editor.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class VoidEditor : DataEditor, IDataEditor, IDiscoverableRemarks
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 SourceVoidEditor(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 | A data value editor factory. | 
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".
VoidEditor(IDataValueEditorFactory)
Initializes a new instance of the VoidEditor class.
Declaration
public VoidEditor(IDataValueEditorFactory dataValueEditorFactory)Parameters
| Type | Name | Description | 
|---|---|---|
| IDataValueEditorFactory | dataValueEditorFactory | A data value editor factory. | 
Remarks
The alias of the editor is "Umbraco.Void".