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(); }
private void SearchItemClicked(object sender, ItemClickEventArgs e) { // raise event SelectionMade?.Invoke(this, e.ClickedItem as string); }
private void GetActionFrameMeta_PreFramePopped() { SelectedInspectable = SingularFocus; SelectionMade?.Invoke(); }
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(); }