Share via


FormSegmentedEntryControl.widthMode Method

Gets or sets the calculation mode of the width of the control.

Syntax

public int widthMode([int value])

Run On

Client

Parameters

  • value
    Type: int
    An integer value that indicates how control width is calculated; optional.

Return Value

Type: int
An integer value that indicates the current calculation mode.

Remarks

Calculate the width according to the following table.

Mode

Width calculation

Exact

The exact width in pixels of the controls is used.

Auto

The width of the control is calculated automatically and the value parameter is ignored.

Column width

The layout of the form determines the width of the control.

The width of the control might change when the mode is set to auto or column width.

See Also

Reference

FormSegmentedEntryControl Class