Ejemplo n.º 1
0
 /// <summary>
 /// Fired when the visual helper is tapped.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void RedditMarkdownVisualHelper_OnHelperTapped(object sender, OnHelperTappedArgs e)
 {
     if (e.Type == VisualHelperTypes.Fullscreen)
     {
         ToggleFullscreen(ui_visualHelper.FullscreenStatus == VisualHelperFullscreenStatus.GotoFullscreen);
     }
     else
     {
         RedditMarkdownVisualHelper.DoEdit(ui_textBox, e.Type);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Fired when the visual helper is tapped.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void RedditMarkdownVisualHelper_OnHelperTapped(object sender, OnHelperTappedArgs e)
 {
     if(e.Type == VisualHelperTypes.Fullscreen)
     {
         ToggleFullscreen(ui_visualHelper.FullscreenStatus == VisualHelperFullscreenStatus.GotoFullscreen);
     }
     else
     {
         RedditMarkdownVisualHelper.DoEdit(ui_textBox, e.Type);
     }
 }