Nucleus .Net Core CMS

PageModuleExtensions Class

Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Extensions for the PageModule class.
BuildDeleteButton (PageModule moduleInfo, String text, String title, String formaction, String attributes)
Create a delete button for the specified module.
Parameters
Name Type
moduleInfo Nucleus.Abstractions.Models.PageModule
text String
title String
formaction String
attributes System.Collections.Generic.IDictionary<System.String
BuildEditButton (PageModule moduleInfo, String text, String title, String formaction, String attributes)
Create an edit button for the specified module.
Parameters
Name Type
moduleInfo Nucleus.Abstractions.Models.PageModule
text String
title String
formaction String
attributes System.Collections.Generic.IDictionary<System.String
BuildEditButton (PageModule moduleInfo, String text, String title, String formaction, String buttonClass, String attributes)
Create an edit button for the specified module.
Parameters
Name Type
moduleInfo Nucleus.Abstractions.Models.PageModule
text String
title String
formaction String
buttonClass String
attributes System.Collections.Generic.IDictionary<System.String
BuildMoveButton (PageModule moduleInfo, String text, String title, String attributes)
Create an edit button for the specified module.
Parameters
Name Type
moduleInfo Nucleus.Abstractions.Models.PageModule
text String
title String
attributes System.Collections.Generic.IDictionary<System.String
BuildMoveDropTarget (PageModule moduleInfo, String paneName, String prompt)
Create a drop target to move a dragged module above or below the specified module.
Parameters
Name Type
moduleInfo Nucleus.Abstractions.Models.PageModule
paneName String
prompt String