HandyOrg / HandyOrg/HandyControl

ComboCheckBox添加控件item

Open
#1,490 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:art: design defect
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

Snipaste_2023-11-15_16-20-21

Expected behavior

No response

Screenshots

GIF

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.