Version

CreatePropertyChange(DependencyObject,DependencyPropertyChangedEventArgs,String,String) Method

Creates an PropertyChangeUndoUnitBase for the specified property change.
Syntax
'Declaration
 
Public Overloads Overridable Function CreatePropertyChange( _
   ByVal d As DependencyObject, _
   ByVal e As DependencyPropertyChangedEventArgs, _
   Optional ByVal propertyDisplayName As String, _
   Optional ByVal typeDisplayName As String _
) As PropertyChangeUndoUnitBase

Parameters

d
The instance whose property was changed
e
The DependencyPropertyChangedEventArgs containing the old and new value.
propertyDisplayName
The preferred name of the property as it should be displayed to the end user. If this is not specified the actual name of the property will be used.
typeDisplayName
The preferred name of the object whose property is being changed as it should be displayed to the end user.
Remarks

Note: In Silverlight a default description may not be able to be provided if the Name of the DependencyProperty cannot be obtained.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also