Checkbox List

    Alias: Umbraco.CheckBoxList

    Returns: IEnumerable<string>

    Displays a list of preset values as a list of checkbox controls. The text saved is a IEnumerable collection of the text values.

    NOTE: Unlike other property editors, the Prevalue IDs are not directly accessible in Razor

    Data Type Definition Example

    True/Checkbox List Definition

    Content Example

    Checkbox List Example

    MVC View Example


        if (Model.HasValue("superHeros"))
                @foreach (var item in Model.SuperHeros)