BorderGapMaskConverter.Convert Method

Creates a VisualBrush that draws the border for a GroupBox control. This method cannot be inherited.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)

public Object Convert (
	Object[] values,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
public final Object Convert (
	Object[] values, 
	Type targetType, 
	Object parameter, 
	CultureInfo culture
)
public final function Convert (
	values : Object[], 
	targetType : Type, 
	parameter : Object, 
	culture : CultureInfo
) : Object
You cannot use methods in XAML.

Parameters

values

An array of three numbers that represent the following GroupBox control parameters:

  • The width of the GroupBox Header content.

  • The width of the GroupBox control.

  • The height of the GroupBox control.

targetType

This parameter is not used.

parameter

The width of the visible line to the left of the Header in the GroupBox.

culture

This parameter is not used.

Return Value

A VisualBrush that draws the border around a GroupBox control that includes a gap for the Header content.

The following illustration gives a graphical representation of the parameter values of the Convert method.

Graphical representation of the parameter values of the Convert method

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: