This class is used to implement events which indicate that an object sequence has changed, and explicitly provide SharpViews with information about which objects in the sequence changed. This may be done either to improve performance, or so that the client can force the display to update for a particular sequence of objects even though the sequence may NOT actually have changed. The arguments indicate the first object in the value when the display was last updated that has been deleted, or (if numberDeleted is zero) the one before which objects have been added. The other two arguments indicate how many objects in the current display have been removed and how many (in the current value of the property) are considered new.
Inheritance: System.EventArgs
 public void PropChanged(object sender, ObjectSequenceEventArgs args)
 {
     foreach (var target in m_targets)
     {
         target.PropChanged(sender, args);
     }
 }
		public void PropChanged(object sender, ObjectSequenceEventArgs args)
		{
			foreach (var target in m_targets)
			{
				target.PropChanged(sender, args);
			}
		}
        /// <summary>
        /// Sent when the contents of the property we are monitoring changes.
        /// </summary>
        public override void PropChanged(object sender, ObjectSequenceEventArgs args)
        {
            var newTs     = Fetcher().ToList();
            var currentTs = (from hookup in Children select(T) hookup.Target).ToList();

            UpdateDisplayOfSubSequence(newTs, args.FirstChange, args.FirstChange + args.NumberAdded, args.FirstChange + args.NumberDeleted);
        }
Example #4
0
		private void RaiseParagraphsChanged(object obj, ObjectSequenceEventArgs args)
		{
		   if (ParagraphsChanged != null)
			   ParagraphsChanged(this, args);
		}
		private void RaiseParagraphsChanged(object obj, ObjectSequenceEventArgs args)
		{
			paragraphChangedEvent = new ObjectSequenceEventArgs(args.FirstChange, args.NumberAdded, args.NumberDeleted);
		}
 /// <summary>
 /// Sent when the contents of the property we are monitoring changes.
 /// </summary>
 public override void PropChanged(object sender, ObjectSequenceEventArgs args)
 {
 }
Example #7
0
 public virtual void PropChanged(object sender, ObjectSequenceEventArgs args)
 {
 }
Example #8
0
		public virtual void PropChanged(object sender, ObjectSequenceEventArgs args)
		{
		}
Example #9
0
		public void PropChanged(object sender, ObjectSequenceEventArgs args)
		{
			PropChangedCalled = true;
		}