ExtensionEditor Class

The base class for extensible component editors.

Inheritance Hierarchy

Syntax

public class ExtensionEditor

Constructors

Name Description
ExtensionEditor

Properties

Name Description
EditorContext

The context passed into list variable sources

EditorControl

Gets the editor control.

ExtensionType

Gets the type of the extension that is being edited.

HideNoPropertiesMessage

Gets or sets a value indicating whether to hide the "no editable properties" message.

Methods

Name Description
BindToInstance(object instance)

Binds an instance to the underlying control.

CreateEditorControl

Creates the editor control.

GetPropertyEditor(System.Reflection.PropertyInfo propertyInfo)

Returns a default property editor for the specified property based on its type, or null (Nothing in Visual Basic) if the property cannot be edited.

Initialize(System.Type extensionType)

Initializes the editor to create or edit an instance of the specified type.

RegisterAdditionalProperty(System.Reflection.PropertyInfo property, System.Func<object> valueFactory)

Registers a System.Reflection.PropertyInfo that will be set during WriteToInstance(object instance) and sent as data to Inedo.Web.Editors.PropertyEditors.PropertyEditor.ProcessAllValues(Inedo.Extensibility.IComponentConfiguration)

WriteToInstance(object instance)

Writes to an extensible instance.

Remarks

This class is not intended to be inherited directly from the SDK; use the specific editors.