MainPage.OnCollectionChanged C# (CSharp) Method

OnCollectionChanged() private method

private OnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
sender object
e NotifyCollectionChangedEventArgs
return void
		private void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)		{
			if (this.recentPatients.Count <= 1)	{
				// It could be a change between empty to non-empty.
				this.OnPropertyChanged("RecentPatients");
			}
		}
		// implement the INotifyPropertyChanged pattern here.