GraphConditionalStyleCollection Class

 

Provides methods for manipulating a collection of Style objects.

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

System.Object
  Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyleCollection

public class GraphConditionalStyleCollection : ICollection<GraphConditionalStyle>, 
	IEnumerable<GraphConditionalStyle>, IEnumerable, IHasGraphOwner

NameDescription
System_CAPS_pubmethodGraphConditionalStyleCollection(Graph)

Constructs new styles object for the given graph.

NameDescription
System_CAPS_pubpropertyCount

Return the number of styles in the collection.

System_CAPS_pubpropertyGraph

Gets the Graph associated with this nodes collection.

System_CAPS_pubpropertyHasPendingPropertyChangeEvents

Returns true if there are any pending PropertyChange events. If this returns true, call the RaisePendingPropertyChangeEvents method.

System_CAPS_pubpropertyIsCompiled

Find out whether the CompileStyles method must be called.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the System.Collections.Generic.ICollection is read-only.

System_CAPS_pubpropertyOwner

Gets the Graph associated with this nodes collection.

NameDescription
System_CAPS_pubmethodAdd(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.

System_CAPS_pubmethodClear()

Clears the list of styles.

System_CAPS_pubmethodCompile(EventHandler<GraphErrorEventArgs>)

Compiles the conditional expressions in the styles for this Graph.

System_CAPS_pubmethodContains(GraphConditionalStyle)

Returns true if the given style is already in the list.

System_CAPS_pubmethodCopyTo(GraphConditionalStyle[], Int32)

Copies the elements of the System.Collections.Generic.ICollection to a System.Array, starting at a particular System.Array index.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindStyle(String, String)

Finds existing style by group and value label.

System_CAPS_pubmethodGetEnumerator()

Gets the types enumerator for this collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInsert(Int32, GraphConditionalStyle)

Insert the given style at the given location in the list.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMergeOrInsert(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.

System_CAPS_pubmethodRaisePendingPropertyChangeEvents(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.

System_CAPS_pubmethodRemove(GraphConditionalStyle)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.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.

Return to top
Show: