Syntax error in DropDownButton.cs
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start in DropDownButton.cs at the GetContextMenu event handler and inspect the reported condition and nearby declarations. Build the project to reproduce the syntax and name-resolution errors, then verify that the handler compiles without an undeclared children reference and that the relevant context-menu behavior remains intact.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This line in the GetContextMenu event handler:
if( child is FrameworkElement children && children.ContextMenu != null && children.ContextMenu.IsOpen )
will not compile. I'm not sure what "children" is supposed to represent, as there is no matching declaration in the module, nor is it an argument passed to the event handler. When I remove the first "children" from the line, the syntax error goes away, but I'm still left with a "name does not exist in this context" issue for "children." I'm not sure enough of the intent of this code to fix the problem without asking for advice.
- Lingua principale
- C#
- Stelle
- 4.2k
- Fork
- 912
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di xceedsoftware/wpftoolkit
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
xceedsoftware/wpftoolkit#1808 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
xceedsoftware/wpftoolkit#1807 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
xceedsoftware/wpftoolkit#1806 · 1 commento ·
-
Plus Edition. Incorrect window position restoration after returning from the maximized state. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 45/100
xceedsoftware/wpftoolkit#1804 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
xceedsoftware/wpftoolkit#1802 · 3 commenti ·
Tutte le issue di xceedsoftware/wpftoolkit
Issue simili
-
type/automation type/tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
t/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
ci-failure-cause test-failure
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
area:auth FE mvp P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
klasolsson81/jobbliggaren#1788 ·