ListViewBase.ChoosingGroupHeaderContainer Event

Definition

Occurs when an item container is to be chosen for a data group.

// Register
event_token ChoosingGroupHeaderContainer(TypedEventHandler<ListViewBase, ChoosingGroupHeaderContainerEventArgs const &> const& handler) const;

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

// Revoke with event_revoker
ChoosingGroupHeaderContainer_revoker ChoosingGroupHeaderContainer(auto_revoke_t, TypedEventHandler<ListViewBase, ChoosingGroupHeaderContainerEventArgs const &> const& handler) const;
public event TypedEventHandler<ListViewBase,ChoosingGroupHeaderContainerEventArgs> ChoosingGroupHeaderContainer;
Public Custom Event ChoosingGroupHeaderContainer As TypedEventHandler(Of ListViewBase, ChoosingGroupHeaderContainerEventArgs) 

Event Type

Windows.Foundation.TypedEventHandler<ListViewBase,ChoosingGroupHeaderContainerEventArgs>

Remarks

You typically handle this event to enable accessibility. The group headers do not have an accessible name set by default. This event provides access to the header instance and lets you to set the AutomationProperties.Name attached property to an appropriate value.

Applies to