A subclass of the ItemDecorator<(Of <(<'TModelItem>)>)> class that is specifically tailored for IPorts.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public sealed class PortDecorator : ItemDecorator<IPort>
Visual Basic
Public NotInheritable Class PortDecorator _ Inherits ItemDecorator(Of IPort)

Remarks

This ItemDecorator<(Of <(<'TModelItem>)>)> can be used as a convenience to decorate the lookup of IPorts in an IGraph. It serves as a factory for predefined LookupDecorator<(Of <(<'TDecoratedType, TInterface>)>)> instances that are specifically useful for the IPort type.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Model..::..ItemDecorator<(Of <(<'IPort>)>)>
    yWorks.yFiles.UI.Model..::..PortDecorator

See Also