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

OnLeftPropertyChanged() private static method

ContentProperty property changed handler.
private static OnLeftPropertyChanged ( IDependencyObject d, DependencyPropertyChangedEventArgs e ) : void
d IDependencyObject ContentControl that changed its Content.
e DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs.
return void
		private static void OnLeftPropertyChanged (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.OnLeftChanged (e.OldValue, e.NewValue);
		}