Table of Contents

Method WasValueChangedInEvent

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

WasValueChangedInEvent()

You can use this function, for instance, to detect in events if property's SetValueInEvent was already called in editor's event handler.

public virtual bool WasValueChangedInEvent()

Returns

bool

Remarks

It really only detects if was value was changed using property's SetValueInEvent(), which is usually used when a 'picker' dialog is displayed. If value was written by "normal means" in property's StringToValue() or IntToValue(), then this function will return false (on the other hand, property's event handler is not even called in those cases).