Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
リストボックスに項目を追加しました。次に、その各セルをクリックして、別のページに移動します。
リストで選択されたセルを識別する方法は?
クリック イベント ハンドラで送信者を操作する必要があります。
YourItemType _sender = sender as YourItemType;
次に、それが正確にどのアイテムであるかを知ることができます。アイテムに独自のフィールドはありますか? これを使って。
if (_sender.uniqueValue == something) { NavigationService.Navigate(...) }