Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.55 KB

hubsection_isheaderinteractive.md

File metadata and controls

34 lines (23 loc) · 1.55 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.HubSection.IsHeaderInteractive
winrt property

Microsoft.UI.Xaml.Controls.HubSection.IsHeaderInteractive

-description

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

-xaml-syntax

<HubSection IsHeaderInteractive="bool" />

-property-value

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. 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 the text, See more. When a user taps the See more text, the SectionHeaderClick event is raised. The text is rendered as a hyperlink, which uses the user selected system accent color by default.

-examples

-see-also

Header, HeaderTemplate, Hub.SectionHeaderClick