Table of Contents

Method CanResetProp

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

CanResetProp(IPropertyGridItem?)

Gets whether property item can be reset.

public virtual bool CanResetProp(IPropertyGridItem? item)

Parameters

item IPropertyGridItem

Property item.

Returns

bool

Remarks

Property can be reset if it is nullable, has DefaultValueAttribute specified or class has 'Reset(PropertyName)' method.