JumpListItemForegroundConverter.Convert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the enabled brush if the item is not empty, otherwise returns the disabled brush.
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
Parameters
- value
-
Object
Platform::Object
IInspectable
The source data being passed to the target.
- parameter
-
Object
Platform::Object
IInspectable
An optional parameter to be used in the converter logic.
- language
-
String
Platform::String
winrt::hstring
The culture of the conversion.
Returns
The enabled brush if the item is not empty, otherwise the disabled brush.
Implements
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)