MenuScrollingVisibilityConverter::Convert Method (array<Object^>^, Type^, Object^, CultureInfo^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public:
virtual Object^ Convert(
	array<Object^>^ values,
	Type^ targetType,
	Object^ parameter,
	CultureInfo^ culture
) sealed

Parameters

values
Type: array<System::Object^>^

Values produced by the source binding.

targetType
Type: System::Type^

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

parameter
Type: System::Object^

Converter parameter.

culture
Type: System.Globalization::CultureInfo^

Culture information.

Return Value

Type: System::Object^

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.

.NET Framework
Available since 3.0
Return to top
Show: