Table of Contents

Method CreatePropertyAsInt16

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

CreatePropertyAsInt16(string, string?, object, PropertyInfo)

Creates short property.

public virtual IPropertyGridItem CreatePropertyAsInt16(string label, string? name, object instance, PropertyInfo propInfo)

Parameters

label string

Property label.

name string

Property name.

instance object

Object instance which contains the property.

propInfo PropertyInfo

Property information.

Returns

IPropertyGridItem

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

Remarks

If label or name is null, propInfo is used to get them.