UWP MenuItem RRS feed

  • Question

  • User230728 posted

    Is there a way that I can get a menu item to show up in the navigation panel like android for UWP. This is what I have so far. cs <ViewCell> <ViewCell.ContextActions> <MenuItem Command="{Binding FolderDetailCommand}" CommandParameter="{Binding .}" Text="More" /> <MenuItem Command="{Binding DeleteCommand}" CommandParameter="{Binding .}" IsDestructive="True" Text="Delete" /> </ViewCell.ContextActions> <StackLayout Padding="10" Orientation="Horizontal"> <Label FontFamily="{StaticResource FontAwesomeRegular}" FontSize="Large" Text="{x:Static core:FontAwesomeRegularIcons.FolderOpen}" TextColor="{Binding Color}" /> <Label FontAttributes="Bold" Margin="10,0" LineBreakMode="NoWrap" Text="{Binding Name}" /> </StackLayout> </ViewCell>

    Wednesday, June 12, 2019 4:00 PM

All replies

  • User372631 posted

    Check https://www.c-sharpcorner.com/article/contextmenu-in-xamarin-forms-application/

    Thursday, June 13, 2019 5:48 AM