Table of Contents

Method SetPropertyEditorByName

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetPropertyEditorByName(IPropertyGridItem, string)

Sets editor control of a property using its name.

void SetPropertyEditorByName(IPropertyGridItem prop, string editorName)

Parameters

prop IPropertyGridItem

Property Item.

editorName string

Name of the editor.

Remarks

Names of built-in editors are: TextCtrl, Choice, ComboBox, CheckBox, TextCtrlAndButton, ChoiceAndButton, SpinCtrl and DatePickerCtrl.