Export (0) Print
Expand All

ComplexObject.RaisePropertyChanged Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Called from a property setter to notify the framework that a complex object property has changed.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

protected void RaisePropertyChanged(
	string propertyName
)

Parameters

propertyName
Type: System.String
The name of the property that has changed.

This method does not perform any change tracking operations.

public string Name
{
    get
    {
        return this.name;
    }
    set
    {
        if (this.name != value)
        {
            this.ValidateProperty("Name", value);
            this.name = value;
            this.RaisePropertyChanged("Name");
        }
    }
}


Show:
© 2014 Microsoft