示例#1
0
        private void OnSourceRowInserted(object o, SourceRowEventArgs args)
        {
            args.Source.UserNotifyUpdated += OnSourceUserNotifyUpdated;

            if (args.Source.Parent != null && args.Source.Parent.AutoExpand == true)
            {
                Expand(args.ParentIter);
            }

            if (args.Source.Expanded || args.Source.AutoExpand == true)
            {
                Expand(args.Iter);
            }

            UpdateView();
        }
示例#2
0
        private void OnSourceRowInserted(object o, SourceRowEventArgs args)
        {
            args.Source.UserNotifyUpdated += OnSourceUserNotifyUpdated;

            if (args.Source.Parent != null && args.Source.Parent.AutoExpand == true)
            {
                Expand(args.ParentIter);
            }

            if (args.Source.Expanded || args.Source.AutoExpand == true)
            {
                Expand(args.Iter);
            }

            UpdateView();

            if (args.Source.Properties.Get <bool> ("NotifyWhenAdded"))
            {
                args.Source.NotifyUser();
            }
        }
 private void OnSourceRowRemoved (object o, SourceRowEventArgs args)
 {
     args.Source.UserNotifyUpdated -= OnSourceUserNotifyUpdated;
     UpdateView ();
 }
        private void OnSourceRowInserted (object o, SourceRowEventArgs args)
        {
            args.Source.UserNotifyUpdated += OnSourceUserNotifyUpdated;

            if (args.Source.Parent != null && args.Source.Parent.AutoExpand == true) {
                Expand (args.ParentIter);
            }

            if (args.Source.Expanded || args.Source.AutoExpand == true) {
                Expand (args.Iter);
            }

            UpdateView ();

            if (args.Source.Properties.Get<bool> ("NotifyWhenAdded")) {
                args.Source.NotifyUser ();
            }
        }
示例#5
0
 private void OnSourceRowRemoved(object o, SourceRowEventArgs args)
 {
     args.Source.UserNotifyUpdated -= OnSourceUserNotifyUpdated;
     UpdateView();
 }
示例#6
0
        private void OnSourceRowInserted (object o, SourceRowEventArgs args)
        {
            args.Source.UserNotifyUpdated += OnSourceUserNotifyUpdated;

            if (args.Source.Parent != null && args.Source.Parent.AutoExpand == true) {
                Expand (args.ParentIter);
            }

            if (args.Source.Expanded || args.Source.AutoExpand == true) {
                Expand (args.Iter);
            }

            UpdateView ();
        }