NavigationLifecycleHandler Members
The NavigationLifecycleHandler type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
PostDelete |
Runs after a navigation delete commits. The return value is advisory only — the
operation has already happened and cannot be rolled back from here.
|
|
|
PostInsert |
Runs after a navigation insert commits. The return value is advisory only — the
operation has already happened. Inspect e.Attributes["InsertKind"] to
distinguish variants.
|
|
|
PostMove |
Runs after a navigation move commits. The return value is advisory only — the
operation has already happened. Inspect e.Attributes["MoveKind"] to
distinguish variants.
|
|
|
PostUpdate |
Runs after a navigation update commits. The return value is advisory only — the
operation has already happened. Inspect e.Attributes["UpdateKind"] to
distinguish variants.
|
|
|
PreDelete |
Runs before a navigation delete commits. Return false to veto the delete.
|
|
|
PreInsert |
Runs before a navigation insert commits. Inspect e.Attributes["InsertKind"]
to distinguish the "Plain" vs. "WithSort" variants. Return false
to veto the insert.
|
|
|
PreMove |
Runs before a navigation move commits. Inspect e.Attributes["MoveKind"]
to distinguish the "Above", "Below", or "NewParent" variants.
Return false to veto the move.
|
|
|
PreUpdate |
Runs before a navigation update commits. Inspect e.Attributes["UpdateKind"]
to distinguish the "Page", "Name", "Title", or "Link"
variants. Return false to veto the update.
|
|
|
Validate |
Called at the start of every CRUD/move operation on a Navigation, before
any Pre hook. Return false to veto the entire operation.
|

