Property change event of a VCProject RRS feed

  • Question

  • I want to catch event of a VCProject when user changes any properties in Property Pages window of the project. This is the closest I've got to:

    VCProject project; // Given a project
    var events = project.VCProjectEngine.Events as _dispVCProjectEngineEvents_Event;
    events.ItemPropertyChange += ProjectPropertyChanged;
    // ...
    private void ProjectPropertyChanged(object Item, object Tool, int propertyID)
    // A breakpoint is set in this method

    I wish ProjectPropertyChanged could be called when the user clicks OK or Apply in the Property Pages dialog window.

    Thanks in advance!

    -- Andrew

    Thursday, July 12, 2012 5:33 PM


All replies