This topic has not yet been rated - Rate this topic

ShapeElement.FindDecorator Method (String)

Finds the shape decorator that has a given name.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
public Decorator FindDecorator(
	string decoratorName
)

Parameters

decoratorName
Type: String

The name of the decorator.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Decorator
The shape decorator.
public static DslDiagrams::Decorator FindCommentConnectorDecorator(string decoratorName)
{
if(decorators == null) return null;
return DslDiagrams::ShapeElement.FindDecorator(decorators, decoratorName);
}
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.