Edit

Share via


ProgressBarBrushConverter.Convert(Object[], Type, Object, CultureInfo) Method

Definition

Creates the DrawingBrush for the ProgressBar.

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

Parameters

values
Object[]

ForegroundBrush, IsIndeterminate, Indicator Width, Indicator Height, Track Width

The Brush used for the Foreground of the ProgressBar, the Boolean indicating whether the IsIndeterminate is true, the Double defining the Width of the indicator, and the Double defining the Height of the indicator, and the Double defining the width of the Track.

targetType
Type

This parameter is not used.

parameter
Object

This parameter is not used.

culture
CultureInfo

This parameter is not used.

Returns

The DrawingBrush for the ProgressBar.

Implements

Applies to