GetPropertyEditor(System.Reflection.PropertyInfo propertyInfo) Method

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.

Syntax

protected virtual Inedo.Web.Editors.PropertyEditors.PropertyEditor GetPropertyEditor(System.Reflection.PropertyInfo propertyInfo)

Parameters

propertyInfo
Type: System.Reflection.PropertyInfo

The property information.

Remarks

This method is called by CreateEditorControl, and should be only overridden if you want to create a property editor instead of an entire editor control.