A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
Hi Tim, I have coded a flyout control as shown in ur example, but I am not getting any output. I am posting my code here. Please help me for solving my problem.
Hi Tim, I have coded a flyout control as shown in ur example, but I am not getting any output. I am posting my code here. Please help me for solving my problem.
XAML Code :
C# Code :
private void ShowFlyoutMenu(object sender, RoutedEventArgs e) { Flyout flyOut = new Flyout(); flyOut.PlacementTarget = sender as UIElement; flyOut.Placement = PlacementMode.Top; Menu m = new Menu(); MenuItem mi1 = new MenuItem(); mi1.Text = "Some Option"; MenuItem mi2 = new MenuItem(); mi2.Text = "Another Option Here"; m.Items.Add(mi1); m.Items.Add(new MenuItemSeparator()); m.Items.Add(mi2); flyOut.Content = m; flyOut.IsOpen = true; }