This documentation is archived and is not being maintained.

MenuScrollingVisibilityConverter.Convert Method

Called when moving a value from a source to a target.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)

public Object Convert (
	Object[] values,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
public final Object Convert (
	Object[] values, 
	Type targetType, 
	Object parameter, 
	CultureInfo culture
)
public final function Convert (
	values : Object[], 
	targetType : Type, 
	parameter : Object, 
	culture : CultureInfo
) : Object
You cannot use methods in XAML.

Parameters

values

Values produced by the source binding.

targetType

Type of the target. Type that the source will be converted into.

parameter

Converter parameter.

culture

Culture information.

Return Value

Converted value.

UnsetValue may be returned to indicate that the converter produced no value and that the default value should be used.

DoNothing may be returned to indicate that the binding should not transfer the value or use the default value.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: