Method CreatePropertyAsUInt16
CreatePropertyAsUInt16(string, string?, object, PropertyInfo)
Creates ushort property.
public virtual IPropertyGridItem CreatePropertyAsUInt16(string label, string? name, object instance, PropertyInfo propInfo)
Parameters
label
stringProperty label.
name
stringProperty name.
instance
objectObject instance which contains the property.
propInfo
PropertyInfoProperty information.
Returns
- IPropertyGridItem
Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).
Remarks
If label
or name
is null,
propInfo
is used to get them.