GraphUpdatedEventArgs Class

Provides changes to a graph object

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.GraphModel.GraphUpdatedEventArgs

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Class GraphUpdatedEventArgs _
    Inherits EventArgs
public class GraphUpdatedEventArgs : EventArgs
public ref class GraphUpdatedEventArgs : public EventArgs
type GraphUpdatedEventArgs =  
    class
        inherit EventArgs
    end
public class GraphUpdatedEventArgs extends EventArgs

The GraphUpdatedEventArgs type exposes the following members.

Properties

  Name Description
Public property AddedConditions Get the Conditions added to the Conditions collection of styles in this Graph during the transaction.
Public property AddedLinks The Links added to the Graph.Links set during the transaction
Public property AddedNodes The Links added to the Graph.Nodes set during the transaction
Public property AddedSetters Get the Setters added to the Setters collection of styles in this Graph during the transaction.
Public property AddedStyles Get the ConditionalStyles added to the Styles collection of this Graph during the transaction.
Public property Cancel Set to cancel changes to a graph object
Public property ChangedConditions Get the Conditions in this Graph changed during the transaction.
Public property ChangedLinks Links that were previously present in Graph.Links that has data changed during the transaction
Public property ChangedNodes Nodes that were previously present in Graph.Links that has data changed during the transaction
Public property ChangedSetters Get the Setters in this Graph changed during the transaction.
Public property ChangedStyles Get the ConditionalStyles in this Graph changed during the transaction.
Public property Graph The graph object to which the Links/links will be applied when the transaction commits
Public property RemovedConditions Get the Conditions removed from the Conditions collection of styles in this Graph during the transaction.
Public property RemovedLinks The Links removed from the Graph.Links set during the transaction
Public property RemovedNodes The Nodes removed from the Graph.Nodes set during the transaction
Public property RemovedSetters Get the Setters removed from the Setters collection of styles in this Graph during the transaction.
Public property RemovedStyles Get the ConditionalStyles removed from the Styles collection of this Graph during the transaction.
Public property Transaction The System.Transaction transaction that caused the current update
Public property TransactionId

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAddedCategories Get the list of added graph categories for a given changed node.
Public method GetAddedProperties Get the list of added graph properties for a given changed node.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetRemovedCategories Get the list of removed graph categories for a given changed node.
Public method GetRemovedProperties Get the list of removed graph properties for a given changed node.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.GraphModel Namespace