Convert Method
Collapse the table of content
Expand the table of content

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
)

Parameters

values
Type: 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:
© 2016 Microsoft