A void implementation of the IPathGeometry interface that does nothing and behaves like an empty path.

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

Syntax

C#
[SingletonSerializationAttribute] public sealed class VoidPathGeometry : IPathGeometry
Visual Basic
<SingletonSerializationAttribute> _ Public NotInheritable Class VoidPathGeometry _ Implements IPathGeometry

Remarks

This class implements the singleton pattern. Use the shared static Instance of this class instead of nullNothingnullptra null reference (Nothing in Visual Basic) were nullNothingnullptra null reference (Nothing in Visual Basic) is not allowed. The VoidEdgeStyleRenderer does so for example.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing.Common..::..VoidPathGeometry

See Also