Partager via


AddinPageContent.PropertyChanged Event

 

Occurs when a value in the user control is changed.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public abstract event EventHandler PropertyChanged
public:
event EventHandler^ PropertyChanged {
    virtual void add(EventHandler^ value) abstract;
    virtual void remove(EventHandler^ value) abstract;
}
Public MustOverride Event PropertyChanged As EventHandler

Remarks

The add-in page should raise this event to notify the form when content changes.

Examples

The following code describes how to derive and implement an event based off PropertyChanged. For the complete code sample, see Quickstart: Creating a Hosted Email Adapter.

public override event EventHandler PropertyChanged
{
    add
    {
        tabControl.PropertyChanged += value;
    }
    remove
    {
        tabControl.PropertyChanged -= value;
    }
}

See Also

AddinPageContent Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners Namespace

Return to top