Skip to content

Universal Windows Platform (UWP) quick return header control to be used with ListView and GridView controls

License

Notifications You must be signed in to change notification settings

pdehne/QuickReturnHeader

Repository files navigation

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>

About

Universal Windows Platform (UWP) quick return header control to be used with ListView and GridView controls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages