HandyOrg / HandyOrg/HandyControl

Bind Radio-ButtonGroup to enum?

Open
#994 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:factory: enhancement
Dominant language
C#
Stars
7.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to have a bunch of radiobuttons in a button group and bind the button group to an enum.

Eg:
Say there are three radiobuttons in a button group. And there is an enum with three values, namely A, B and C. Now let's say a variable of the enum type is bound to the button group such that, when the variable has its value as A, radiobutton-1 must be checked and other radiobuttons must be unchecked, next when the value of the variable changes from A to B, radiobutton-2 must be checked and others unchecked and so on so forth.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the RadioButtonGroup control and reviewing how its selected value is currently exposed or bound. Define completion as supporting an enum-bound value where each enum value selects its corresponding radio button and changes stay synchronized.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.