A simple implementation of the IPortControlPortStyle interface that can render complex ContentControls for the visualization of IPorts.

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

Syntax

Remarks

The StyleResourceKey is used to determine the Style that will be applied to the PortControl. The style will be looked-up using the TryFindResource(Control, Object) method for the CanvasControl the style is used in. Note that the RenderSize should be specified to match the size of the control style.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing..::..ControlStyleBase<(Of <(<'IPort>)>)>
    yWorks.yFiles.UI.Drawing..::..PortControlPortStyle

See Also