Selects a style for the specified DiagramConnection.

Namespace:  Mindscape.WpfDiagramming
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected override Style SelectStyleCore(
	Object item,
	DependencyObject container
)
Visual Basic (Declaration)
Protected Overrides Function SelectStyleCore ( _
	item As Object, _
	container As DependencyObject _
) As Style

Parameters

item
Type: System..::.Object
The DiagramConnection for which a style is required.
container
Type: System.Windows..::.DependencyObject
The FrameworkElement that contains the DiagramConnection.

Return Value

A Style for displaying the specified connection.

See Also