MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Seemingly random binding errors for PopupBox
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 16.3k
- フォーク
- 3.5k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 8
説明
I seem to get this error at random times during the execution of my application:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='MaterialDesignThemes.Wpf.PopupBox', AncestorLevel='1''. BindingExpression:Path=Foreground; DataItem=null; target element is 'PackIcon' (Name=''); target property is 'Foreground' (type 'Brush')
It's not completely "random" as it seems to coincides with clicking on some UI element. The funny thing is, the element that is clicked on is typically NOT a PopupBox. Is anyone else seeing this? Is there perhaps an error in my code somewhere that I could trace this to and not a bug?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、説明されている UI 要素をクリックして報告された binding エラーを再現し、その後、メッセージで示されている PopupBox と PackIcon の binding 関係を調査します。完了条件は、エラーの発生元が toolkit かアプリケーションかを判断し、再現可能な原因または修正を文書化することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100