Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Convert Method
Collapse the table of content
Expand the table of content

ProgressBarBrushConverter.Convert Method

Creates the DrawingBrush for the ProgressBar.

Namespace:  Microsoft.Windows.Themes
Assemblies:   PresentationFramework.Classic (in PresentationFramework.Classic.dll)
  PresentationFramework.AeroLite (in PresentationFramework.AeroLite.dll)
  PresentationFramework.Royale (in PresentationFramework.Royale.dll)
  PresentationFramework.Luna (in PresentationFramework.Luna.dll)

public Object Convert(
	Object[] values,
	Type targetType,
	Object parameter,
	CultureInfo culture


Type: System.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.

Type: System.Type

This parameter is not used.

Type: System.Object

This parameter is not used.

Type: System.Globalization.CultureInfo

This parameter is not used.

Return Value

Type: System.Object
The DrawingBrush for the ProgressBar.


IMultiValueConverter.Convert(Object[], Type, Object, CultureInfo)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft