This documentation is archived and is not being maintained.

ProgressBarBrushConverter::Convert Method

Creates the DrawingBrush for the ProgressBar.

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

public:
virtual Object^ Convert(
	array<Object^>^ values, 
	Type^ targetType, 
	Object^ parameter, 
	CultureInfo^ culture
) sealed

Parameters

values
Type: array<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.
targetType
Type: System::Type
This parameter is not used.
parameter
Type: System::Object
This parameter is not used.
culture
Type: System.Globalization::CultureInfo
This parameter is not used.

Return Value

Type: System::Object
A DrawingBrush.

Implements

IMultiValueConverter::Convert(array<Object>, Type, Object, CultureInfo)

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: