Show / Hide Table of Contents

Method Convert

| Improve this Doc View Source

Convert(Object[], Type, Object, CultureInfo)

Converts the offset, extent and viewport values of System.Windows.Controls.ScrollViewer to a System.Windows.Visibility value indicates the display state of scroll button.

Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object[] values

The offset, extent and viewport values of System.Windows.Controls.ScrollViewer:

System.Type targetType

The type of the binding target property.

System.Object parameter

The converter parameter to use. Must be string value of "first" or "last".

System.Globalization.CultureInfo culture

The culture to use in the converter.

Returns
Type Description
System.Object

The System.Windows.Visibility value indicates whether the scroll button should be displayed.

Implements
System.Windows.Data.IMultiValueConverter.Convert(System.Object[], System.Type, System.Object, System.Globalization.CultureInfo)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest