private void Diagram_Clicked(object sender, DiagramClickedEventArgs args) { if (CommentBoxEntry != null && CommentBoxEntry.alertBuilder != null) { CommentBoxEntry.alertBuilder.SetCancelable(true); } }
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; } }
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; }