A void implementation of a port style that does nothing and behaves like an invisible style.

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

Syntax

C#
Visual Basic
<SingletonSerializationAttribute> _ Public NotInheritable Class VoidPortStyle _ Inherits VoidVisualStyle(Of IPort) _ Implements IPortStyle, IVisualStyle(Of IPort), _ IModelItemInstaller(Of IPort), ICloneable

Remarks

This class implements the singleton pattern. Use the shared static Instance of this class instead of nullNothingnullptra null reference (Nothing in Visual Basic) where nullNothingnullptra null reference (Nothing in Visual Basic) is not allowed. For example you cannot assign nullNothingnullptra null reference (Nothing in Visual Basic) to the Style property of an IPort.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing.Common..::..VoidVisualStyle<(Of <(<'IPort>)>)>
    yWorks.yFiles.UI.Drawing.Common..::..VoidPortStyle

See Also