Selects a style for a ShapeNode.

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 node whose style is required. If this is not a ShapeNode, the Styles collection is consulted instead as in a normal MatchingStyleSelector.
container
Type: System.Windows..::.DependencyObject
The data bound container object.

Return Value

>A Style for the specified node.

See Also