ListViewBase.ChoosingItemContainer 이벤트

정의

데이터 항목에 대해 항목 컨테이너를 선택할 때 발생합니다.

// Register
event_token ChoosingItemContainer(TypedEventHandler<ListViewBase, ChoosingItemContainerEventArgs const&> const& handler) const;

// Revoke with event_token
void ChoosingItemContainer(event_token const* cookie) const;

// Revoke with event_revoker
ListViewBase::ChoosingItemContainer_revoker ChoosingItemContainer(auto_revoke_t, TypedEventHandler<ListViewBase, ChoosingItemContainerEventArgs const&> const& handler) const;
public event TypedEventHandler<ListViewBase,ChoosingItemContainerEventArgs> ChoosingItemContainer;
function onChoosingItemContainer(eventArgs) { /* Your code */ }
listViewBase.addEventListener("choosingitemcontainer", onChoosingItemContainer);
listViewBase.removeEventListener("choosingitemcontainer", onChoosingItemContainer);
- or -
listViewBase.onchoosingitemcontainer = onChoosingItemContainer;
Public Custom Event ChoosingItemContainer As TypedEventHandler(Of ListViewBase, ChoosingItemContainerEventArgs) 

이벤트 유형

설명

이 이벤트는 목록 또는 그리드의 ItemsPanel이 ItemsStackPanel 또는 ItemsWrapGrid인 경우에만 발생합니다. ItemsPanel을 다른 패널로 바꾸면 이벤트가 발생하지 않습니다.

적용 대상