Table of Contents

Method SetPropertyAttributeAsVariant

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

SetPropertyAttributeAsVariant(IPropertyGridItem, string, IPropertyGridVariant, PropertyGridItemValueFlags)

Sets an attribute for the property.

public virtual void SetPropertyAttributeAsVariant(IPropertyGridItem prop, string attrName, IPropertyGridVariant value, PropertyGridItemValueFlags argFlags = PropertyGridItemValueFlags.DontRecurse)

Parameters

prop IPropertyGridItem
attrName string

Text identifier of attribute. See PropertyGridItemAttrId for the known attribute names.

value IPropertyGridVariant

Value of attribute.

argFlags PropertyGridItemValueFlags

Optional. Use Recurse to set the attribute to child properties recursively.

Remarks

Property is refreshed with new settings after calling this method.