GraphConditionalStyleCollection Class
Provides methods for manipulating a collection of Style objects.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Name | Description | |
---|---|---|
![]() | GraphConditionalStyleCollection(Graph) | Constructs new styles object for the given graph. |
Name | Description | |
---|---|---|
![]() | Count | Return the number of styles in the collection. |
![]() | Graph | Gets the Graph associated with this nodes collection. |
![]() | HasPendingPropertyChangeEvents | Returns true if there are any pending PropertyChange events. If this returns true, call the RaisePendingPropertyChangeEvents method. |
![]() | IsCompiled | Find out whether the CompileStyles method must be called. |
![]() | IsReadOnly | Gets a value indicating whether the System.Collections.Generic.ICollection is read-only. |
![]() | Owner | Gets the Graph associated with this nodes collection. |
Name | Description | |
---|---|---|
![]() | Add(GraphConditionalStyle) | Adds the specified style to the collection. If the given style belongs to a different graph, it clones it and returns the new style. |
![]() | Clear() | Clears the list of styles. |
![]() | Compile(EventHandler<GraphErrorEventArgs>) | Compiles the conditional expressions in the styles for this Graph. |
![]() | Contains(GraphConditionalStyle) | Returns true if the given style is already in the list. |
![]() | CopyTo(GraphConditionalStyle[], Int32) | Copies the elements of the System.Collections.Generic.ICollection to a System.Array, starting at a particular System.Array index. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindStyle(String, String) | Finds existing style by group and value label. |
![]() | GetEnumerator() | Gets the types enumerator for this collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Insert(Int32, GraphConditionalStyle) | Insert the given style at the given location in the list. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MergeOrInsert(GraphConditionalStyle, Int32) | Adds this style if one does not already exist with the same target type and conditions. If one exists with the same target type and conditions, merge the setters. |
![]() | RaisePendingPropertyChangeEvents(IEnumerable<GraphObject>) | Raises any PropertyChanged events that have to be raised based on all referenced properties in the conditional expressions and property value expressions in the compiled style set. |
![]() | Remove(GraphConditionalStyle) | Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection. |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | IEnumerable.GetEnumerator() | Returns the enumerator for this collection. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.