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

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdogan committed Dec 26, 2015
1 parent c056d77 commit bd9b759
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
# HamburgerMenu
Windows 10 styled Hamburger Menu control for WPF
Windows 10 styled, customizable Hamburger Menu control for WPF

# Getting Started
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>
```

0 comments on commit bd9b759

Please sign in to comment.