HubSection.IsHeaderInteractive property

Applies to Windows and Windows Phone

Gets or sets a value that indicates whether the section header raises a SectionHeaderClick event on its containing Hub.

Syntax


Public Property IsHeaderInteractive As Boolean


<HubSection IsHeaderInteractive="bool" />

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true if the section header raises a SectionHeaderClick event; otherwise, false. The default is false.

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 can respond to a tapped header by handling the Hub.SectionHeaderClick event, and 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

HubSection
Header
HeaderTemplate
Hub.SectionHeaderClick

 

 

Show:
© 2014 Microsoft