Share via


MenuScrollingVisibilityConverter.Convert 方法

定義

當數值從來源移至目標時呼叫。

public:
 virtual System::Object ^ Convert(cli::array <System::Object ^> ^ values, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj[] * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj[] * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (values As Object(), targetType As Type, parameter As Object, culture As CultureInfo) As Object

參數

values
Object[]

由來源繫結所產生的值。

targetType
Type

目標的類型。 要將來源轉換為哪種型別。

parameter
Object

轉換子的參數。

culture
CultureInfo

文化特性 (Culture) 資訊。

傳回

已轉換的值。

實作

備註

UnsetValue 可能會傳回 ,表示轉換器不會產生任何值,而且應該使用預設值。

DoNothing 可能會傳回 ,表示系結不應該傳送值或使用預設值。

適用於