Beispiel #1
0
        protected internal void OnRowExpandedChanged(object sender, RowExpandedChangedEventArgs e)
        {
            if (e.Node == null)
                return;

            IGanttNode node = e.Node;

            int index = Nodes.IndexOf(node);

            if (node.Expanded)
                InsertChildNodes(node, ref index);
            else
                RemoveChildNodes(node);

            //Nodes.RaiseCollectionChanged();

            RaiseRowExpandedChanged(e);
        }
Beispiel #2
0
 private void TaskGrid_RowExpanded(object sender, RowExpandedChangedEventArgs e)
 {
     Panel.ReGenerateRows();
 }
Beispiel #3
0
 protected void RaiseRowExpandedChanged(RowExpandedChangedEventArgs e)
 {
     if (RowExpandedChanged != null)
         RowExpandedChanged(this, e);
 }