protected void RaiseRowExpandedChanged(RowExpandedChangedEventArgs e) { if (RowExpandedChanged != null) { RowExpandedChanged(this, e); } }
void GanttDataGrid_RowExpandedChanged(object sender, RowExpandedChangedEventArgs e) { IGanttNode node = (e.Row.DataContext as IGanttNode); node.Expanded = e.IsExpanded; int index = LastExpanderClickedIndex = Nodes.IndexOf(node); if (e.IsExpanded) { index = InsertChildNodes(node, ref index); } else { RemoveChildNodes(node); } RaiseRowExpandedChanged(e); }
protected void RaiseRowExpandedChanged(RowExpandedChangedEventArgs e) { if (RowExpandedChanged != null) RowExpandedChanged(this, e); }
private void TaskGrid_RowExpanded(object sender, RowExpandedChangedEventArgs e) { TaskGrid.SetTopRow(Panel.TopNodeIndex); SetupVerticalScrollbar(); Panel.ReGenerateRows(); }