Buttons in popup can not be pressed when I put my UserControl in DataGridCell.
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
### Description
The xaml code structure is like belows.
```
```
1. When I set Popup's property IsOpen equals True as initial value, "Button_Click" will be triggered, the opposite is not triggered.
2. When I put MyUserControl not in DataGridCell template, "Button_Click" will be triggered, the opposite is not triggered.
3. When I put Grid in DataGridCell template and not in MyUserControl, "Button_Click" will be triggered, the opposite is not triggered.
I want to know how it happened, and what if I code like above, how can I trigger "Button_Click". Thank you.
### Reproduction Steps
```
```
Code like aboves.
### Expected behavior
I want to know how it happened, and what if I code like above, how can I trigger "Button_Click".
### Actual behavior
1. When I set Popup's property IsOpen equals True as initial value, "Button_Click" will be triggered, the opposite is not triggered.
2. When I put MyUserControl not in DataGridCell template, "Button_Click" will be triggered, the opposite is not triggered.
3. When I put Grid in DataGridCell template and not in MyUserControl, "Button_Click" will be triggered, the opposite is not triggered.
### Regression?
_No response_
### Known Workarounds
_No response_
### Impact
_No response_
### Configuration
_No response_
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.