Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public interface IPortStyle : IVisualStyle<IPort>, IModelItemInstaller<IPort>, ICloneable |
| Visual Basic |
|---|
Public Interface IPortStyle _ Inherits IVisualStyle(Of IPort), IModelItemInstaller(Of IPort), _ ICloneable |
Remarks
Implementations are responsible for rendering IPort
instances in a CanvasControl.
It is up to the implementation to interpret the visual appearance of a
port.
The framework uses the associated, possibly shared Renderer
to perform the actual rendering of this style for a given port.
This interface extends the ICloneable interface. This allows clients
to obtain a persistent copy of the current state of this style.
Immutable style implementations may return themselves.