# NavigationDrawer **Repository Path**: LuckyUandMe/NavigationDrawer ## Basic Information - **Project Name**: NavigationDrawer - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-04 - **Last Updated**: 2024-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NavigationDrawer YouTube https://youtu.be/YQ1EJJZBHyE # Q & A

How do I implement listviewitem click events and multi view content area?

To access the list view selected item event you need the code selectionChanged="ListViewMenu_SelectionChanged" and in c# code you need to get what item was selected: ```C# UserControl usc = null; GridMain.Children.Clear(); switch (((ListViewItem)((ListView)sender).SelectedItem).Name) { case "ItemHome": usc = new UserControlHome(); GridMain.Children.Add(usc); break; case "ItemCreate": usc = new UserControlCreate(); GridMain.Children.Add(usc); break; default: break; } ``` To create multi view, you will need some UserControls and call them into switch case.