コード例 #1
0
 private void view_SelectionChanged(object sender, DevExpress.Xpf.Grid.TreeList.TreeListSelectionChangedEventArgs e)
 {
     if (treeList != null)
     {
         treeList.UpdateTotalSummary();
     }
 }
コード例 #2
0
        private void OnSelectionChanged(object sender, DevExpress.Xpf.Grid.TreeList.TreeListSelectionChangedEventArgs e)
        {
            PeriodName periodName = this.periodTree.GetSelectedValue();

            if (periodName != null && !periodName.IsDefault)
            {
                selectedPeriodNamePosition = periodName.position;
            }
            this.PeriodIntervalleTree.DisplayPeriodInterval(periodName != null ? periodName.GetRootPeriodInterval() : null);
            if (periodName != null)
            {
                e.Handled = true;
            }
        }