Class ElementMovingNotification
Called while an element is moving, but before it has been moved. Cancel the operation to prevent the movement.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ElementMovingNotification : MovingNotification<IElement>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceElementMovingNotification(MoveEventInfo<IElement>, EventMessages)
Declaration
public ElementMovingNotification(MoveEventInfo<IElement> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveEventInfo<IElement> | target | |
| EventMessages | messages |