Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

alicanerdogan/HamburgerMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HamburgerMenu

Windows 10 styled, customizable Hamburger Menu control for WPF

Animation

Getting Started

Install

From nuget:

Install-Package HamburgerMenu 

Use

Add library reference in xaml:

xmlns:HamburgerMenu="clr-namespace:HamburgerMenu;assembly=HamburgerMenu"

Create a Hamburger Menu control and set Background Color, Menu Icon Color, Selection Indicator Color and Menu Item Foreground Color:

<HamburgerMenu:HamburgerMenu Background="Blue" MenuIconColor="White" SelectionIndicatorColor="White" MenuItemForeground="White" HorizontalAlignment="Left">
</HamburgerMenu:HamburgerMenu>

Add Menu Items and set their Icon and Text:

<HamburgerMenu:HamburgerMenu Background="Blue" MenuIconColor="White" SelectionIndicatorColor="White" MenuItemForeground="White" HorizontalAlignment="Left">
      <HamburgerMenu:HamburgerMenuItem Icon="Assets/home.png" Text="Home" SelectionCommand="{Binding ElementName=this_}"/>
      <HamburgerMenu:HamburgerMenuItem Icon="Assets/search.png" Text="Search"/>
      <HamburgerMenu:HamburgerMenuItem Icon="Assets/favorite.png" Text="Likes"/>
      <HamburgerMenu:HamburgerMenuItem Icon="Assets/list.png" Text="Lists"/>
      <HamburgerMenu:HamburgerMenuItem Icon="Assets/person.png" Text="Profile"/>
</HamburgerMenu:HamburgerMenu>

About

Windows 10 styled Hamburger Menu control for WPF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages