AxHost.AxPropertyInfo.getValueEditor

Overview | Methods | This Package | All Packages

AxHost.AxPropertyInfo.getValueEditor

Retrieves the value editor for this property based on a specified IEditorSite object.

Syntax

public IValueEditor getValueEditor( IEditorSite site )

Parameters

site

An IEditorSite object that specifies the editor site to use.

Return Value

Returns an IValueEditor object that specifies the value editor for this property.

Remarks

If the attributes of this property specify a value editor, or if the type of this property is Image, Color, or Font, then calling this method is equivalent to calling the PropertyInfo object's getValueEditor method. Otherwise, a special value editor is returned, and the behavior of this editor depends on the underlying ActiveX control.