CornerRadiusFilterConverter.Convert(Object, TypeName, Object, String) Method

Definition

Converts the source CornerRadius by extracting only the fields specified by the Filter and leaving others set to 0.

public:
 virtual Platform::Object ^ Convert(Platform::Object ^ value, TypeName targetType, Platform::Object ^ parameter, Platform::String ^ language) = 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);
Public Function Convert (value As Object, targetType As Type, parameter As Object, language As String) As Object

Parameters

value
Object

The source CornerRadius being passed to the target.

targetType
Windows.UI.Xaml.Interop.TypeName Type

The type of the target property. Part of the IValueConverter.Convert interface method, but not used.

parameter
Object

An optional parameter to be used in the converter logic. Part of the IValueConverter.Convert interface method, but not used.

language
String

The language of the conversion. Part of the IValueConverter.Convert interface method, but not used.

Returns

Object

The converted CornerRadius/double value to be passed to the target dependency property.

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:Microsoft.UI.Xaml.Data.IValueConverter.Convert(System.Object,Windows.UI.Xaml.Interop.TypeName,System.Object,System.String) M:Microsoft.UI.Xaml.Data.IValueConverter.Convert(System.Object,System.Type,System.Object,System.String)

Applies to