InedoSDK Reference
Version:

PropertyEditor Class

A custom editor for a single property of an extensible component.

Syntax

public class PropertyEditor

Constructors

Name Description
PropertyEditor(System.Reflection.PropertyInfo property)

Initializes a new instance of the PropertyEditor class.

Properties

Name Description
EditMode

Gets the FieldEditMode on the Inedo.Web.Editors.PropertyEditors.PropertyEditor.Property or null (Nothing in Visual Basic) if one was not set.

EditorCategory

Gets the category for this editor.

EditorHelpText

Gets or sets the editor help text.

EditorLabel

Gets default generated name, which is used if no EditMode is set.

Required

Gets a value indicating whether a value is required.

Methods

Name Description
CreateEditorControl

Creates underlying Inedo.Web.Controls.ISimplePostControl control used as the property editor; by default this is a Inedo.Web.Controls.AhTextInput.

GetFormField

Returns a Inedo.Web.Controls.SlimFormField that wraps the Inedo.Web.Editors.PropertyEditors.PropertyEditor.EditorControl.

Remarks

Inheritors must have a constructor that takes exactly one parameter of System.Reflection.PropertyInfo