예제 #1
0
 public void OnSelectionMade(StatementCompletionItem statementCompletionItem)
 {
     if (SelectionMade != null)
     {
         SelectionMade.Invoke(statementCompletionItem);
     }
 }
 private void EndSelection()
 {
     if (!_startPoint.HasValue || !_endPoint.HasValue)
     {
         _startPoint = null;
         return;
     }
     SelectionMade?.Invoke(this, new Rect(_startPointOriginal, _endPointOriginal));
     CleanSelection();
 }
예제 #3
0
 private void SearchItemClicked(object sender, ItemClickEventArgs e)
 {
     // raise event
     SelectionMade?.Invoke(this, e.ClickedItem as string);
 }
예제 #4
0
 private void GetActionFrameMeta_PreFramePopped()
 {
     SelectedInspectable = SingularFocus;
     SelectionMade?.Invoke();
 }
예제 #5
0
 protected virtual void OnSelectionMade(HomeScreenSelectionMadeEventArgs e)
 {
     SelectionMade?.Invoke(this, e);
 }
 /// <summary>Call back for OnAction events from the drop-down ribbon elements.</summary>
 public void OnSelectionMade(IRibbonControl control, string selectedId, int selectedIndex)
 {
     SelectionMade?.Invoke(control, selectedId, selectedIndex);
     Invalidate();
 }