Hide

YetaWF Documentation

Display
Print

PageDefinitions Component

PageDefinitions (Display)

Displays the model as a grid listing all the pages with detail information. The model cannot be null. If the model is an empty list, an empty grid is rendered.

Model Type: System.Collections.Generic.List<YetaWF.Core.Pages.PageDefinition>

AdditionalMetadata Attributes

NameTypeDefaultDescription
HeaderbooltrueDefines whether the grid header is shown.
[Category("Pages"), Caption("Pages"), Description("The pages where this module is used")]
[UIHint("PageDefinitions"), ReadOnly]
public List<PageDefinition> Pages {
    get {
        if (_pages == null)
            _pages = PageDefinition.GetPagesFromModule(ModuleGuid);
        return _pages;
    }
}
private List<PageDefinition> _pages;