Share via


PresentationElementHelper Class

This class contains extension methods for the PresentationElement class.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.DslDesigner.PresentationElementHelper

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class PresentationElementHelper
public static class PresentationElementHelper
[ExtensionAttribute]
public ref class PresentationElementHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type PresentationElementHelper =  class end
public final class PresentationElementHelper

The PresentationElementHelper type exposes the following members.

Methods

  Name Description
Public methodStatic member GetDslDefinitionModelElement 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.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.DslDesigner Namespace