Table of Contents

Method CreateEditEnumItem

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

CreateEditEnumItem(string, string?, IPropertyGridChoices, string?, IPropertyGridNewItemParams?)

Creates editable enumeration property.

IPropertyGridItem CreateEditEnumItem(string label, string? name, IPropertyGridChoices choices, string? value = null, IPropertyGridNewItemParams? prm = null)

Parameters

label string

Property label.

name string

Property name.

choices IPropertyGridChoices

Enumeration elements.

value string

Default property value.

prm IPropertyGridNewItemParams

Property item create parameters.

Returns

IPropertyGridItem

Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).