示例#1
0
 void RadialMenu_CenterButtonBackTapped(object sender, CenterButtonBackTappedEventArgs e)
 {
     text = new TextView(con);
     text.SetTextColor(Color.Black);
     textFrame.AddView(text, 0);
     text.Text = "RadialMenu CenterButtonBack is Tapped";
 }
 void RadialMenu_CenterButtonBackTapped(object sender, CenterButtonBackTappedEventArgs e)
 {
     if (textFrame.ChildCount == 10)
     {
         textFrame.RemoveView(textFrame.GetChildAt(10));
     }
     text = new TextView(con);
     text.SetTextColor(Color.Black);
     textFrame.AddView(text, 0);
     text.Text = "RadialMenu CenterButtonBack is Tapped";
     scrollviewer.ScrollTo(textFrame.Bottom, 0);
 }
 void Radial_Menu_CenterButtonTapped(object sender, CenterButtonBackTappedEventArgs e)
 {
     list.Add("CenterButtonBack is Tapped");
 }