ArcFM Desktop Developer Guide
NotifyPropertyChangedInvocatorAttribute Class
Members  Example 


Product Availability
Required Licenses
.NET Assembly
Indicates that the method is contained in a type that implements System.ComponentModel.INotifyPropertyChanged interface and this method is used to notify that some property value changed
Object Model
NotifyPropertyChangedInvocatorAttribute Class
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Method, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class NotifyPropertyChangedInvocatorAttribute 
   Inherits System.Attribute
'Usage
 
Dim instance As NotifyPropertyChangedInvocatorAttribute
[AttributeUsage(ValidOn=AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class NotifyPropertyChangedInvocatorAttribute : System.Attribute 
Remarks
The method should be non-static and conform to one of the supported signatures:
Example
Examples of generated notifications:
public class Foo : INotifyPropertyChanged {
  public event PropertyChangedEventHandler PropertyChanged;
  [NotifyPropertyChangedInvocator]
  protected virtual void NotifyChanged(string propertyName) { ... }
            
  private string _name;
  public string Name {
    get { return _name; }
    set { _name = value; NotifyChanged("LastName"); /* Warning */ }
  }
}
Inheritance Hierarchy

System.Object
   System.Attribute
      Miner.Desktop.DesignerExpress.Annotations.NotifyPropertyChangedInvocatorAttribute

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

NotifyPropertyChangedInvocatorAttribute Members
Miner.Desktop.DesignerExpress.Annotations Namespace

 

 


Send Comment