HandyOrg / HandyOrg/HandyControl
ComboCheckBox添加控件item
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
当我的comboboxitem的content为一个control时,会出现显示不完全的问题,要么是展示区显示,要么是下拉框里显示
代码如下:
<hc:CheckComboBox
x:Name="demoCCB"
Width="300"
Height="36"
HorizontalAlignment="Center"
VerticalAlignment="Center">
hc:CheckComboBoxItem
</hc:CheckComboBoxItem>
hc:CheckComboBoxItem
</hc:CheckComboBoxItem>
hc:CheckComboBoxItem
</hc:CheckComboBoxItem>
</hc:CheckComboBox>
请问是否支持非字符串的comboboxitem呢
Steps to reproduce the bug
Expected behavior
No response
Screenshots
NuGet package version
None
IDE
No response
Framework type
No response
Windows version
No response
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided XAML with CheckComboBox and CheckComboBoxItem, then inspect the control templates and content handling for the display area and dropdown. Done means a CheckComboBoxItem containing a control renders correctly in both locations; no repository files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100