Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MenuScrollingVisibilityConverter.Convert Method (Object[], Type, Object, CultureInfo)


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


Type: System.Object[]

Values produced by the source binding.

Type: System.Type

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

Type: System.Object

Converter parameter.

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
© 2017 Microsoft