An event arguments class that indicates that a node has changed.
Наследование: System.EventArgs
Пример #1
0
		/// <summary>
		/// Handles the <see cref="FileSystemTreeViewBase.NodeAdded"/> and 
		/// <see cref="FileSystemTreeViewBase.NodeRemoved"/> events of the sources tree view.
		/// </summary>
		/// <remarks>
		/// This raised the <see cref="PropertyChanged"/> event on the <see cref="Sources"/> property.
		/// </remarks>
		/// <param name="sender">The object that raised the event.</param>
		/// <param name="e">A <see cref="NodesChangedEventArgs"/> describing the event arguments.</param>
		private void ftvSource_NodesChanged(object sender, NodesChangedEventArgs e)
		{
			PropertyChanged(this, new PropertyChangedEventArgs(ObjectHelper.GetPropertyName(() => Sources)));
		}
		/// <summary>
		/// Raises the <see cref="NodeRemoved"/> event.
		/// </summary>
		/// <param name="e">A <see cref="NodesChangedEventArgs"/> describing the event arguments.</param>
		protected virtual void OnNodeRemoved(NodesChangedEventArgs e)
		{
			NodeRemoved(this, e);
		}
Пример #3
0
 /// <summary>
 /// Raises the <see cref="NodeRemoved"/> event.
 /// </summary>
 /// <param name="e">A <see cref="NodesChangedEventArgs"/> describing the event arguments.</param>
 protected virtual void OnNodeRemoved(NodesChangedEventArgs e)
 {
     NodeRemoved(this, e);
 }