Derives a snap line background drawing from DiagramSurface settings.

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

Syntax

C#
public Object Convert(
	Object[] values,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
Visual Basic (Declaration)
Public Function Convert ( _
	values As Object(), _
	targetType As Type, _
	parameter As Object, _
	culture As CultureInfo _
) As Object

Parameters

values
Type: array< System..::.Object >[]()[]
The DiagramSurface settings.
targetType
Type: System..::.Type
The type of the binding target property.
parameter
Type: System..::.Object
The converter parameter to use.
culture
Type: System.Globalization..::.CultureInfo
The culture to use in the conversion.

Return Value

A DrawingBrush suitable for use as a background.

Implements

IMultiValueConverter..::.Convert(array<Object>[]()[], Type, Object, CultureInfo)

Remarks

The values are expected to be as follows:

1. The HorizontalSnapSpecifier.

2. The HorizontalSnapSpecifier.

3. The Zoom.

4. The ZoomMode.

5. The ActualWidth.

6. The ActualHeight.

7. The current horizontal scroll offset.

8. The current vertical scroll offset.

9. The SnapLineDrawing.

10. The current Extent.

See Also