GraphConditionalStyle.Matches Method

Determines whether the style should be applied based on the given context object.

If the style has no conditions or all the conditions are met, the style should be applied.

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

Syntax

'Declaration
Public Function Matches ( _
    context As Object _
) As Boolean
public bool Matches(
    Object context
)
public:
bool Matches(
    Object^ context
)
member Matches : 
        context:Object -> bool
public function Matches(
    context : Object
) : boolean

Parameters

  • context
    Type: Object

    The object against which to evaluate the conditions.

Return Value

Type: Boolean
True if this style should be applied to the given context object; false otherwise.

.NET Framework Security

See Also

Reference

GraphConditionalStyle Class

Microsoft.VisualStudio.GraphModel.Styles Namespace