Hide

YetaWF Documentation

Display
Print

ModuleAction Component

ModuleAction (Display)

Renders the model as a module action (a button, icon or link). If the model is null, nothing is rendered.

Model Type: YetaWF.Core.Modules.ModuleAction

AdditionalMetadata Attributes

NameTypeDefaultDescription
RenderAsYetaWF.Core.Modules.ModuleAction.RenderModeEnumModuleAction.RenderModeEnum.ButtonDefines how the module action is rendered.
[Caption("View"), Description("View the complete blog entry")]
[UIHint("ModuleAction"), AdditionalMetadata("RenderAs", ModuleAction.RenderModeEnum.LinksOnly), ReadOnly]
public ModuleAction ViewAction { get; set; }