Converts a value from a binding source for use by a binding target.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.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 dates to check. This array must contain exactly two dates. If the array contains fewer than two dates, an IndexOutOfRangeException occurs. If the array contains more than two dates, the extra dates are ignored.
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

true if the dates are in the same month; otherwise false.

Implements

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

See Also