public delegate void MyEvent(object sender, TreeGridEventArgs e); public event MyEvent SLTreeGridSelectionChanged; void RaiseSLTreeGridSelectionChanged(TreeGridEventArgs e) { if (SLTreeGridSelectionChanged != null) { SLTreeGridSelectionChanged(this, e); } }
private void SLDataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (CurrentSELedNode != null) { TreeGridRow row = (TreeGridRow)CurrentSELedNode.Tag; RaiseSLTreeGridSelectionChanged(new TreeGridEventArgs(row)); } }
null
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)