Beispiel #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();
        }
Beispiel #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 ();
            }
        }
Beispiel #5
0
 private void OnSourceRowRemoved(object o, SourceRowEventArgs args)
 {
     args.Source.UserNotifyUpdated -= OnSourceUserNotifyUpdated;
     UpdateView();
 }
Beispiel #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 ();
        }