Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.21 KB

hub_sectionheaderclick.md

File metadata and controls

32 lines (20 loc) · 1.21 KB
-api-id -api-type
E:Windows.UI.Xaml.Controls.Hub.SectionHeaderClick
winrt event

Windows.UI.Xaml.Controls.Hub.SectionHeaderClick

-description

Occurs when a section header is clicked and the section's IsHeaderInteractive property is true.

-xaml-syntax

<Hub SectionHeaderClick="eventhandler" />

-remarks

You can make a section header interactive by setting the IsHeaderInteractive property to true. Typically, the user can tap an interactive header to navigate to the corresponding app section page.

You get the section that was clicked from the SectionHeaderClickEventArgs.Section property of the event data.

When its IsHeaderInteractive property is true, the default header includes a chevron glyph, and "Hover" and "Pressed" visual states. If you use a custom HeaderTemplate, you should provide similar visual cues to indicate that the header is interactive.

-examples

-see-also