WidthSelectionMode Property

            Applies To

Specifies how the width of the grid should be measured. Available at design time.

Settings

The settings for WidthSelectionMode are:

Setting Description
1 – Pixels Specifies that the width of the grid should be measured in pixels.
2 – Percent Specifies that the width of the grid should be measured by a percentage.

Remarks

This property is mapped to the Width box on the General Tab of the Grid Properties dialog box.

The WidthSelectionMode property is used by the Grid control when generating the HTML for the grid. The default value is 1.