System.Windows.Controls.ContentControl.OnRightPropertyChanged C# (CSharp) Method

OnRightPropertyChanged() private static method

ContentProperty property changed handler.
private static OnRightPropertyChanged ( IDependencyObject d, DependencyPropertyChangedEventArgs e ) : void
d IDependencyObject ContentControl that changed its Content.
e DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs.
return void
		private static void OnRightPropertyChanged (IDependencyObject d, DependencyPropertyChangedEventArgs e)
		{
			Canvas source = d as Canvas;
			Debug.Assert (source != null, "The source is not an instance of ContentControl!");
			// Notify derived classes of the change 
			source.OnRightChanged (e.OldValue, e.NewValue);
		}
		#endregion Content