共用方式為


JumpListItemBackgroundConverter.Convert 方法

定義

如果專案不是空的,則傳回啟用的筆刷,否則會傳回停用的筆刷。

public:
 virtual Platform::Object ^ Convert(Platform::Object ^ value, TypeName targetType, Platform::Object ^ parameter, Platform::String ^ language) = Convert;
IInspectable Convert(IInspectable const& value, TypeName const& targetType, IInspectable const& parameter, winrt::hstring const& language);
public object Convert(object value, System.Type targetType, object parameter, string language);
function convert(value, targetType, parameter, language)
Public Function Convert (value As Object, targetType As Type, parameter As Object, language As String) As Object

參數

value
Object

Platform::Object

IInspectable

要傳遞至目標的來源資料。

targetType
TypeName Type

目標相依性屬性預期的資料類型。

parameter
Object

Platform::Object

IInspectable

要在轉換器邏輯中使用的選擇性參數。

language
String

Platform::String

winrt::hstring

轉換的文化特性。

傳回

Object

Platform::Object

IInspectable

如果專案不是空的,則為啟用的筆刷,否則為停用的筆刷。

實作

M:Windows.UI.Xaml.Data.IValueConverter.Convert(System.Object,Windows.UI.Xaml.Interop.TypeName,System.Object,System.String) M:Windows.UI.Xaml.Data.IValueConverter.Convert(System.Object,System.Type,System.Object,System.String) M:Windows.UI.Xaml.Data.IValueConverter.Convert(Platform::Object,Windows.UI.Xaml.Interop.TypeName,Platform::Object,Platform::String) M:Windows.UI.Xaml.Data.IValueConverter.Convert(IInspectable,Windows.UI.Xaml.Interop.TypeName,IInspectable,winrt::hstring)

適用於