Table of Contents

Enum UIRule

Namespace
GroupeIsa.Neos.Designer.UIAbstractions.Rule
Assembly
GroupeIsa.Neos.Designer.UIAbstractions.dll

UI Rules.

public enum UIRule
Extension Methods

Fields

Closing = 15

Closing.

DataSaved = 12

Data Saved.

DataSaving = 11

Data Saving.

Disposed = 21

Disposed.

Initialized = 0

Initialisation of the view.

ItemAdded = 5

Item Added.

ItemAdding = 4

Item Adding.

ItemCloning = 23

Item cloning.

ItemRemoved = 8

Item Removed.

ItemRemoving = 7

Item Removing.

ItemSelectionChanged = 14

Item Selection Changed.

ItemSelectionChanging = 13

Item Selection Changing.

Navigating = 16

Navigating.

ParameterChanged = 22

Parameter changed.

PositionChanged = 3

Position Changing.

PositionChanging = 2

Position Changing.

PreValidation = 18

Pre validation.

PropertyChanged = 1

Property Changed.

ReferenceRetrieving = 19

Reference Retrieving.

ReferenceSelected = 20

Reference Selected.

Removing = 6

Items Removing.

Retrieved = 10

Data retrieved.

Retrieving = 9

Data retrieving.

Validation = 17

Validation.

Remarks

There are 24 event rules at the time of writing, among which:

  • two types are dedicated to UIComponents:

    • ParameterChanged
    • Disposed
  • two types do not need ui code overriding support (if you want to extend => create a new rule, if you want to disable => overload the module):

    • PreValidation
    • Validation

Additionally, we can also notice:

  • three types take the generic arguments (IUIRuleArguments) as a parameter in order to be able to access the Item property:

    • ItemAdded
    • ItemRemoved
    • ItemSelectionChanged
  • two types do not accept any arguments:

    • Initialized
    • PositionChanged (use DataSourceCurrent instead of Item).