ListViewBase.ItemClick Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when an item in the list view receives an interaction, and the IsItemClickEnabled property is true.
public:
virtual event ItemClickEventHandler ^ ItemClick;
// Register
event_token ItemClick(ItemClickEventHandler const& handler) const;
// Revoke with event_token
void ItemClick(event_token const* cookie) const;
// Revoke with event_revoker
ListViewBase::ItemClick_revoker ItemClick(auto_revoke_t, ItemClickEventHandler const& handler) const;
public event ItemClickEventHandler ItemClick;
function onItemClick(eventArgs) { /* Your code */ }
listViewBase.addEventListener("itemclick", onItemClick);
listViewBase.removeEventListener("itemclick", onItemClick);
- or -
listViewBase.onitemclick = onItemClick;
Public Custom Event ItemClick As ItemClickEventHandler
<listViewBase ItemClick="eventhandler" />
Event Type
Remarks
If the list view is one of the views in a SemanticZoom, selection entails additional behavior that might change between the views. This behavior is built in to the ListViewBase class, not the SemanticZoom class.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin