Skip to content

GroupName Changes on radiobutton affect another usercontrol instance #10778

Closed
@jismyname

Description

@jismyname

Description

a usercontrol has many radiobutton in the same groupName, while create a second instance of this usercontrol and set value to radiobutton binding before showing window, this chang will push to the first showed usercontrol instance. touch to me for more info.

Reproduction Steps

  1. define a usercontrol with many radiobutton in the same groupname and bind ischecked to viewmodel.
  2. create a instance of the usercontrol and set a new window and content to this usercontrol and show ,select any radiobutton.
  3. creat a new instance of this usercontrol and set the binding viewmodel radiobutton ,and create a new window instance and set content to this second usercontrol and showdialog and close.

Expected behavior

1.open the firs window ,you should see your selected radiobutton just now,but it has been changed because of step 2.

Actual behavior

open the firs window, your selected radiobutton has been unselected.

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions