Table of Contents

Method CreateFlagsItem

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

CreateFlagsItem(string, string?, IPropertyGridChoices, object?, IPropertyGridNewItemParams?)

Creates flags property (like enumeration with Flags attribute).

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

Parameters

label string

Property label.

name string

Property name.

choices IPropertyGridChoices

Elements.

value object

Default property value.

prm IPropertyGridNewItemParams

Property item create parameters.

Returns

IPropertyGridItem

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