IdeaBlade DevForce 2010 Help Reference
ForcePropertyChanged Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityAspect Class : ForcePropertyChanged Method



e
A System.ComponentModel.PropertyChangedEventArgs or null
Forces a PropertyChanged event to be fired.

Syntax

Visual Basic (Declaration) 
Public Sub ForcePropertyChanged( _
   ByVal e As PropertyChangedEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As EntityAspect
Dim e As PropertyChangedEventArgs
 
instance.ForcePropertyChanged(e)
C# 
public void ForcePropertyChanged( 
   PropertyChangedEventArgs e
)
C++/CLI 
public:
void ForcePropertyChanged( 
   PropertyChangedEventArgs^ e
) 

Parameters

e
A System.ComponentModel.PropertyChangedEventArgs or null

Remarks

An Empty value or a null reference (Nothing in Visual Basic) for the propertyName parameter of PropertyChangedEventArgs indicates that all of the properties have changed, causing the .NET framework to also fire a ListChangedEventArgs.ListChangedType of "Reset" if the event propagates to a list that supports the ListChanged event.

Passing a null value to this method will insure that a valid (dynamically created) property name is passed on to any listeners.

This method should only be needed in situations where changes to calculated fields or other properties not backed by an EntityProperty must be made known.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.