Method SetPropertyEditorByName
SetPropertyEditorByName(IPropertyGridItem, string)
Sets editor control of a property using its name.
public virtual void SetPropertyEditorByName(IPropertyGridItem prop, string editorName)
Parameters
prop
IPropertyGridItemProperty Item.
editorName
stringName of the editor.
Remarks
Names of built-in editors are: TextCtrl, Choice, ComboBox, CheckBox, TextCtrlAndButton, ChoiceAndButton, SpinCtrl and DatePickerCtrl.