This class implements a wrapper to allow
System.ComponentModel.INotifyPropertyChanged.PropertyChanged events to be propagated across the .NET remoting boundary.
Syntax
Remarks
Example
The following code snippet shows how to monitor the
Application object for
System.ComponentModel.INotifyPropertyChanged.PropertyChanged events to detect when the
Application.IsVisible property goes false.
C# | Copy Code |
---|
using (var wrapper = new NotifyPropertyChangedWrapper(app, OnApplicationPropertyChanged))
{
// other code....
}
void OnApplicationPropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == "IsVisible")
{
Vsa.Application app = sender as Vsa.Application;
if (app.IsVisible == false)
{
// other code...
}
}
} |
Requirements
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)
See Also