Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

CheckComboBox DropDown Button Missing

Đang mở
#1,781 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
desktop

Hướng nghiên cứu

Start by inspecting the CheckComboBox theme and styles that size the drop-down button, focusing on the use of SystemParameters.VerticalScrollBarWidthKey and DownArrowGeometry. Reproduce the issue with the scrollbar width set to 5; done means the drop-down button remains visible and correctly sized without depending on the scrollbar width.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I have discovered an interesting issue.

I was using the CheckComboBox in the header of a DataGrid (Not yours) and it was required to set the DataFrid Style to use thin scroll bars which seems to be a modern trend.

When I applied my style to make the DataGrid scroll bars thinner, the DropDown button on the CheckComboBox disappeared.
Digging deeper, looking at the styles used, the size of the FropDown button is determined by the SystemParameters.VerticalScrollBarWidthKey which I had changed to 5 to make the scrollbars thinner.

I think using the SystemParameters.VerticalScrollBarWidthKey to set the size of the DropDown button is a bug or at least a big design flaw. It really should be based on the size of the DownArrowGeometry

Ngôn ngữ chính
C#
Star
4.2k
Fork
912
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của xceedsoftware/wpftoolkit

Tất cả issue của xceedsoftware/wpftoolkit

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.