示例#1
0
 protected void RaiseRowExpandedChanged(RowExpandedChangedEventArgs e)
 {
     if (RowExpandedChanged != null)
     {
         RowExpandedChanged(this, e);
     }
 }
示例#2
0
        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);
        }
        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);
 }
示例#5
0
 private void TaskGrid_RowExpanded(object sender, RowExpandedChangedEventArgs e)
 {
     TaskGrid.SetTopRow(Panel.TopNodeIndex);
     SetupVerticalScrollbar();
     Panel.ReGenerateRows();
 }
示例#6
0
 private void TaskGrid_RowExpanded(object sender, RowExpandedChangedEventArgs e)
 {
     TaskGrid.SetTopRow(Panel.TopNodeIndex);
     SetupVerticalScrollbar();
     Panel.ReGenerateRows();
 }