語言

ProgressBarBrushConverter.Convert(Object[], Type, Object, CultureInfo) 方法

定義

會產生 DrawingBrush 。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

參數

values
Object[]

前景刷子、IsIndeterminate、指示寬度、指示高度、軌跡寬度

用於 Brush 的 ,布林值表示 Foreground 是否為 ProgressBar,IsIndeterminatetrue定義指示器的 ,定義 DoubleWidth 的指示器,以及Double定義 的寬度Height。DoubleTrack

targetType
Type

不使用這個參數。

parameter
Object

不使用這個參數。

culture
CultureInfo

不使用這個參數。

傳回

該 DrawingBrush 為 ProgressBar。

實作

適用於