Table of Contents

Enum PropertyGridApplyFlags

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

Defines all flags used in the property grid and other property editing controls when property value is applied back to object instance.

[Flags]
public enum PropertyGridApplyFlags

Fields

Default = 1

Default value for the 'ApplyFlags' property.

PropEvent = 1

Raises 'PropertyChanged' event of the item when property is changed in the control.

PropInfoSetValue = 2

Calls SetValue(object, object) when property is changed in the control. This requires 'Instance' and 'PropInfo' properties to be specified in the item.

ReloadAfterSetValue = 4

Reloads property value again after set value (PropInfoSetValue) and updates the control.

ReloadAllAfterSetValue = 8

Reloads all property values again after set value (PropInfoSetValue) and updates the control.

SetValueAndReload = PropInfoSetValue | ReloadAfterSetValue

Flags ReloadAfterSetValue and PropInfoSetValue are turned on.

SetValueAndReloadAll = PropInfoSetValue | ReloadAllAfterSetValue

Flags ReloadAllAfterSetValue and PropInfoSetValue are turned on.

Remarks

This enumeration supports a bitwise combination of its member values.