Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <MenuItem Text="MyMenuItem" Command="{Binding SwitchMode}">
- <Shell.MenuItemTemplate>
- <DataTemplate>
- <StackLayout Orientation="Horizontal" HorizontalOptions="Center">
- <Label Text="{Binding Text}"/>
- <Switch IsToggled="{Binding IsModeActivated}"/>
- </StackLayout>
- </DataTemplate>
- </Shell.MenuItemTemplate>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement