PresentationElementHelper Class

 

This class contains extension methods for the PresentationElement class.

Namespace:   Microsoft.VisualStudio.Modeling.DslDesigner
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.DslDesigner::PresentationElementHelper

[ExtensionAttribute]
public ref class PresentationElementHelper abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetDslDefinitionModelElement(PresentationElement^)

This method guarantees that the real model element corresponding to the PresentationElement is returned.

For DslDesigner PELs, the corresponding subject may actually be an internal TreeNode class and not the actual MEL.

This method handles those cases correctly so that the actual MEL is returned.

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: