GraphGroup Class

 

A wrapper on nodes that have IsGroup=true. They do not have a separate identity; they use the identity of the node that they wrap.

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

System.Object
  Microsoft.VisualStudio.GraphModel.GraphObject
    Microsoft.VisualStudio.GraphModel.GraphGroup

public class GraphGroup : GraphObject

NameDescription
System_CAPS_pubpropertyCategories

Returns all categories. Never returns null.(Inherited from GraphObject.)

System_CAPS_pubpropertyCategoryCount

Returns the number of categories in the object.(Inherited from GraphObject.)

System_CAPS_pubpropertyChildGroups

A collection of child GraphGroups. A child group is one that is linked to a parent group via an IsContainment link.

This collection is automatically maintained as nodes are added and removed from the graph and as IsGroup properties are changed and as containment links are added or removed.

System_CAPS_pubpropertyChildNodes

A collection of child nodes (excluding nodes that have IsGroup set to true).

A child node is one that is linked to a parent group via an IsContainment link.

This collection is automatically maintained as nodes are added and removed from the graph and as IsGroup properties are changed and as containment links are added or removed.

System_CAPS_pubpropertyContainmentLinks

The containment links that are contained within this group.

System_CAPS_pubpropertyContentVisibility

Get whether the content inside this node is visible or not.

System_CAPS_pubpropertyDescriptiveCategoryLabel

Creates a delimited list of all category labels for this graph object.(Inherited from GraphObject.)

System_CAPS_pubpropertyDocumentSchema

Gets the document-local schema from the owner of this graph.(Inherited from GraphObject.)

System_CAPS_pubpropertyGroupNode

System_CAPS_pubpropertyId

System_CAPS_pubpropertyIsEmpty

Find out whether the group contains any child nodes or groups.

System_CAPS_pubpropertyIsExpanded

Get whether this node is expanded.

System_CAPS_pubpropertyIsGroup

Gets whether this object is IsGroup. It looks for the GraphProperties.StyleForGroup.(Inherited from GraphObject.)

System_CAPS_pubpropertyIsPseudo

Gets whether this object is Pseudo. It looks for the GraphProperties.IsPseudo.(Inherited from GraphObject.)

System_CAPS_pubpropertyItem[GraphProperty]

Property that gets or sets a property value.(Inherited from GraphObject.)

System_CAPS_pubpropertyLabel

System_CAPS_pubpropertyOwner

Gets the Graph object that this object belongs to.(Inherited from GraphObject.)

System_CAPS_pubpropertyParents

The parents of this group.

System_CAPS_pubpropertyProperties

Property that returns an enumeration of all annotations. The order of the enumeration is random.(Inherited from GraphObject.)

System_CAPS_pubpropertyPropertyCount

Property that returns a number of all annotations.(Inherited from GraphObject.)

System_CAPS_pubpropertyPropertyKeys

Property that returns an enumeration of all annotation keys. The order of the enumeration is random.(Inherited from GraphObject.)

System_CAPS_pubpropertyPropertyValues

Property that returns an enumeration of all annotation values. The order of the enumeration is random.(Inherited from GraphObject.)

System_CAPS_pubpropertyVisibility

Helper property to get/set visibility property of a GraphObject.(Inherited from GraphObject.)

NameDescription
System_CAPS_pubmethodAddCategory(GraphCategory)

Adds a category to the object.(Inherited from GraphObject.)

System_CAPS_pubmethodAsNode()

Converts the GraphObject to a GraphNode. If this is a GraphGroup, the inner node is returned.

For types other than GraphNode/Group, null is returned.(Inherited from GraphObject.)

System_CAPS_pubmethodClearCategories()

Remove all categories from this object.(Inherited from GraphObject.)

System_CAPS_pubmethodClearValue(GraphProperty)

Removes the value of the specified property.(Inherited from GraphObject.)

System_CAPS_pubmethodCopyCategories(GraphObject)

Copies any new categories from the given object, keeping existing categories.(Inherited from GraphObject.)

System_CAPS_pubmethodCopyProperties(GraphObject)

Copies any new properties from the given object, keeping existing property values unchanged.(Inherited from GraphObject.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAncestors()

Returns all the parent ancestors of this group, excluding this group.

System_CAPS_pubmethodGetDescendantGroups()

Returns all descendant groups that are contained by this group hierarchy, including this group.

System_CAPS_pubmethodGetDescendants()

Returns all descendant nodes that are contained by this group hierarchy.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMetaObject(Expression)

(Inherited from GraphObject.)

System_CAPS_protmethodGetSchemaValue(GraphProperty)

Gets the schema-specific value of the property, if one exists.(Inherited from GraphObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValue(GraphProperty)

Gets the value of the specified annotation.(Inherited from GraphObject.)

System_CAPS_pubmethodGetValue(String)

Gets the value of the specified property.(Inherited from GraphObject.)

System_CAPS_pubmethodGetValue<T>(GraphProperty, T)

Gets the value of the specified annotation. If property is not set, we return the default value that the caller passed to this method.(Inherited from GraphObject.)

System_CAPS_pubmethodGetValue<T>(GraphProperty, Graph)

Gets the value of the specified property.(Inherited from GraphObject.)

System_CAPS_pubmethodGetValue<T>(GraphProperty, Graph, GraphCategory)

Gets the value of the specified property, and also returns the category that this property value was inherited from, if any.(Inherited from GraphObject.)

System_CAPS_pubmethodGetValueAsString(GraphProperty, CultureInfo)

Returns the given property as a string that uses the given culture.(Inherited from GraphObject.)

System_CAPS_pubmethodHasCategory(GraphCategory)

Returns true if the object has the given category.(Inherited from GraphObject.)

System_CAPS_pubmethodHasCategory(IEnumerable<GraphCategory>)

Returns true if the object has any of the given categories.(Inherited from GraphObject.)

System_CAPS_pubmethodHasCategory(String)

Returns true if the object has the given category.(Inherited from GraphObject.)

System_CAPS_pubmethodHasCategoryInSet(HashSet<GraphCategory>, GraphCategoryMatchOption)

Determines whether the given set of categories applies to this object.(Inherited from GraphObject.)

System_CAPS_pubmethodHasLocalValue(GraphProperty)

Returns true if the specified property exists on this object with no category inheritance check.(Inherited from GraphObject.)

System_CAPS_pubmethodHasValue(GraphProperty)

Returns true if the specified annotation exists.(Inherited from GraphObject.)

System_CAPS_pubmethodHasValue(String)

Find out whether the object has a value for the specified property.(Inherited from GraphObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnCategoryChanged(GraphCategory, GraphCategoryChangeType)

Raises the property changed events for both the node and the group.(Overrides GraphObject.OnCategoryChanged(GraphCategory, GraphCategoryChangeType).)

System_CAPS_pubmethodOnPropertyChanged(GraphProperty)

Raises a PropertyChangd event for the given GraphProperty.(Inherited from GraphObject.)

System_CAPS_pubmethodOnPropertyChanged(String)

Raises the property changed events for both the node and the group.(Overrides GraphObject.OnPropertyChanged(String).)

System_CAPS_pubmethodRemoveCategory(GraphCategory)

Removes the category of this object.(Inherited from GraphObject.)

System_CAPS_pubmethodSetValue(String, Object)

Adds an annotation, using the given key, type, and value.(Inherited from GraphObject.)

System_CAPS_pubmethodSetValue<T>(GraphProperty, T)

Sets the value of the given property. If the property already exists, its value is overwritten unless the annotation flags prevent otherwise.(Inherited from GraphObject.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodWrapGraphObject(GraphObject)

Modifies the current graph object to share the same property and categories as the given graph object.

The wrapper and wrappee graph objects will always have identical sets of properties and categories.(Inherited from GraphObject.)

NameDescription
System_CAPS_pubeventCategoryChanged

(Inherited from GraphObject.)

System_CAPS_pubeventPropertyChanged

(Inherited from GraphObject.)

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

Return to top
Show: