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(); }
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 (); } }
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 (); }