public static event EventHandler<PropertyChangedEventArgs> StaticPropertyChanged;
public static void RaiseStaticPropertyChanged(string propName)
{
EventHandler<PropertyChangedEventArgs> handler = StaticPropertyChanged;
if (handler != null)
handler(null, new PropertyChangedEventArgs(propName));
}
Public Shared Event StaticPropertyChanged As PropertyChangedEventHandler
Public Shared Sub OnStaticPropertyChanged(propertyName As String)
End Sub
ASKER
ASKER
RaiseEvent StaticPropertyChanged(Nothing, New PropertyChangedEventArgs(propertyName))
ASKER
What do you mean by "doesn't cause the UI to update".
ASKER
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY