OnPropertyChanged Method

WindowsFormsHost::OnPropertyChanged Method (DependencyPropertyChangedEventArgs)

 

Forces the translation of a mapped property.

Namespace:   System.Windows.Forms.Integration
Assembly:  WindowsFormsIntegration (in WindowsFormsIntegration.dll)

protected:
virtual void OnPropertyChanged(
	DependencyPropertyChangedEventArgs e
) override

Parameters

e
Type: System.Windows::DependencyPropertyChangedEventArgs

Arguments that identify the property that changed as well as providing that property's old and new values.

Calling the OnPropertyChanged method may be necessary when a property of an ancestor element has changed, but the local value of the WindowsFormsHost element has not changed. For more information, see Windows Forms and WPF Property Mapping.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft