예제 #1
0
 private void Diagram_Clicked(object sender, DiagramClickedEventArgs args)
 {
     if (CommentBoxEntry != null && CommentBoxEntry.alertBuilder != null)
     {
         CommentBoxEntry.alertBuilder.SetCancelable(true);
     }
 }
예제 #2
0
 void Diagram_DiagramClicked(object sender, DiagramClickedEventArgs args)
 {
     if (Notifier != null)
     {
         parent.Children.Remove(Notifier);
         Notifier = null;
         diagram.EnableZoomAndPan = true;
         diagram.NodeClicked     += Diagram_NodeClicked;
         diagram.ItemLongPressed += Diagram_ItemLongPressed;
     }
 }
예제 #3
0
 private void Diagram_DiagramClicked(object sender, DiagramClickedEventArgs args)
 {
     diagram.Layer.Opacity = 1;
     diagram.PageSettings.BackgroundColor = UIColor.White;
     if (Notifier != null && Notifier.Superview == this)
     {
         Notifier.RemoveFromSuperview();
     }
     if (InfoNotifier != null && InfoNotifier.Superview == this)
     {
         if (CommentBoxEntry.Text != null)
         {
             SelectedNode.Content = CommentBoxEntry.Text;
         }
         InfoNotifier.RemoveFromSuperview();
     }
     SelectedNode = null;
 }