Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 874 Bytes

File metadata and controls

25 lines (20 loc) · 874 Bytes

QuickReturnHeader

Quick return header demo

How to use

Add the QuickReturnHeader class and style to your project. Then define a regular ListView or GridView and add a QuickReturnHeader to its header. Make sure to tell the header which container it belongs to using the TargetListViewBase property:

<Page.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="ms-appx:///QuickReturnHeader.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Page.Resources>

<ListView x:Name="MyList">
    <ListView.Header>
        <local:QuickReturnHeader TargetListViewBase="{x:Bind MyList}">
			<TextBlock Text="Header" />
        </local:QuickReturnHeader>
    </ListView.Header>
</ListView>