Table of Contents

Method EnableProperty

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

EnableProperty(IPropertyGridItem?, bool)

Changes enabled state of the property.

public virtual bool EnableProperty(IPropertyGridItem? prop, bool enable = true)

Parameters

prop IPropertyGridItem

Property item.

enable bool

New enabled state value.

Returns

bool

true if operation was successful, false otherwise.