AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageModule..::..IsEditDraggable Property

Overridable property to determine if a module is draggable in the visual editor.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public virtual bool IsEditDraggable { get; }

Field Value

true if this instance is edit draggable; otherwise, false.

Examples


Override this property to prevent a module from being repositioned in the visual editor:
C#
public class FixedHeaderModule : AdvantageModule
{
    // This module must remain at the top of the page
    public override bool IsEditDraggable { get; } = false;
}