Hub.SectionHeaderClick event

Applies to Windows and Windows Phone

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

Syntax


public event HubSectionHeaderClickEventHandler SectionHeaderClick


<Hub SectionHeaderClick="eventhandler" />

Event information

Delegate HubSectionHeaderClickEventHandler

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Hub

 

 

Show:
© 2014 Microsoft