Skip to content

[CheckBox] using [Flags] enum idea #22

@Jack-Badger

Description

@Jack-Badger

I just had this idea and thought I'd share it as a possible enhancement.

using System;
using CodeStack.SwEx.Common.Attributes;
using CodeStack.SwEx.PMPage.Attributes;

public class CheckBoxDataModel
{
    [Flags]
    public enum Options_e
    {
        Option1 = 1,
        Option2 = 2,
        Option3 = 4,
    }

    //[CheckBox]  Enhancement Request
    public Options_e Options { get; set; }


    // Current Workflow
    public bool Option1 { get; set; }
    public bool Option2 { get; set; }
    public bool Option3 { get; set; }
}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions