MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
ToggleButton throws exception if IsThreeState is enabled
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 16.3k
- Fork
- 3.5k
- Merge medio
- 1g 22h
- PR unite (30g)
- 8
Descrizione
The ToggleButton throws an exception if the "IsThreeState" property is set to true and the button is clicked.
Exception thrown: 'System.InvalidOperationException' in PresentationFramework.dll
An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll
Der Name "IndeterminateCheck" wurde im Namensbereich von "System.Windows.Controls.Grid" nicht gefunden.
Translated it would probably s.th. like: `The name "IndeterminateCheck" could not be found in the namespace of "System.Windows.Controls.Grid"`
Versions:
MaterialDesignThemes: 3.2.0
MaterialDesignColors: 1.2.7
Example Repo: https://github.com/badcel/BugMaterialDesignToggleButton.git
Guida per i contributori
Apri la guida per i contributori
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.
Direzione di ricerca
Start by running the linked BugMaterialDesignToggleButton example with MaterialDesignThemes 3.2.0 and clicking a ToggleButton with IsThreeState enabled. Trace the ToggleButton behavior around the IndeterminateCheck lookup and reproduce the InvalidOperationException. Done means three-state clicking no longer throws and the indeterminate state works.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100