Table of Contents

Method BindEnumProp

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

BindEnumProp(object, string)

Binds property specified with instance and propName to the ComboBox. After binding ComboBox will edit the specified property.

public virtual void BindEnumProp(object instance, string propName)

Parameters

instance object

Object.

propName string

Property name.

Remarks

Property must have the Enum type. Value of the binded property will be changed automatically after SelectedItem is changed.