Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CheckComboBox DropDown Button Missing

Aperta
#1,781 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C#
Stelle
4.2k
Fork
912
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di xceedsoftware/wpftoolkit

Tutte le issue di xceedsoftware/wpftoolkit

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.