Skip to content

[CheckBox] using [Flags] enum idea #22

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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