Exemple #1
0
 private void Handle_ItemTapped(object sender, Syncfusion.SfRadialMenu.XForms.ItemTappedEventArgs e)
 {
     Syncfusion.SfRadialMenu.XForms.SfRadialMenuItem item1 = sender as Syncfusion.SfRadialMenu.XForms.SfRadialMenuItem;
     viewModel.AliveColor = SKColor.Parse(ColorConverter.ConvertToHex(item1.BackgroundColor));
     canvasView.InvalidateSurface();
     teamUSARadialMenu.Close();
 }
Exemple #2
0
 void Handle_ItemTapped(object sender, Syncfusion.SfRadialMenu.XForms.ItemTappedEventArgs e)
 {
     Syncfusion.SfRadialMenu.XForms.SfRadialMenuItem item1 = sender as Syncfusion.SfRadialMenu.XForms.SfRadialMenuItem;
     rotator_ViewModel.RotatorCollection[sfRotator.SelectedIndex].TeamColor = item1.BackgroundColor;
     teamUSARadialMenu.Close();
 }