A simple implementation of the IEdgeSegmentControlEdgeStyle interface that can render complex ContentControls for the visualization of IEdges.

Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
[ObfuscationAttribute(StripAfterObfuscation = false, ApplyToMembers = false, 
	Exclude = true)]
public class EdgeSegmentControlEdgeStyle : ControlStyleBase<IEdge>, 
	IEdgeSegmentControlEdgeStyle, ITaggedStyleBase<IEdge>, IEdgeStyle, IVisualStyle<IEdge>, 
	IModelItemInstaller<IEdge>, ICloneable
Visual Basic
<ObfuscationAttribute(StripAfterObfuscation := False, ApplyToMembers := False,  _
	Exclude := True)> _
Public Class EdgeSegmentControlEdgeStyle _
	Inherits ControlStyleBase(Of IEdge) _
	Implements IEdgeSegmentControlEdgeStyle, ITaggedStyleBase(Of IEdge),  _
	IEdgeStyle, IVisualStyle(Of IEdge), IModelItemInstaller(Of IEdge),  _
	ICloneable

Remarks

The StyleResourceKey is used to determine the Style that will be applied to the EdgeSegmentControl. The style will be looked-up using the TryFindResource(Object) method for the CanvasControl the style is used in.

Related Demo Applications

The following programming samples are available: Also see the yFiles WPF tutorials for step by step introductions.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing..::..ControlStyleBase<(Of <(<'IEdge>)>)>
    yWorks.yFiles.UI.Drawing..::..EdgeSegmentControlEdgeStyle

See Also