Edit

Share via


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

Definition

Creates a VisualBrush that draws the border for a GroupBox control.

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[]

An array of three numbers that represent the GroupBox control parameters.

targetType
Type

This parameter is not used.

parameter
Object

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

culture
CultureInfo

This parameter is not used.

Returns

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

Implements

Remarks

The three numbers that are in the values parameter represent the following GroupBox control parameters:

The following illustration provides a graphical representation of the values parameter.

A GroupBox and the values for the Convert method

Applies to