Visual InterDev

RowAlignment Property

      Applies To

Specifies the alignment of data contained in the cells of the grid. Available at design time.

Settings

The settings for RowAlignment are:

Setting Description
0 – Left Specifies that the data contained in the cells of the grid should be aligned to the left.
1 – Right Specifies that the data contained in the cells of the grid should be aligned to the right.
2 – Center Specifies that the data contained in the cells of the grid should be aligned in the center.

Remarks

This property is mapped to the Alignment box on the Format Tab of the Grid Properties dialog box when the All detail rows toggle button is selected.

The RowAlignment property sets the value of the ALIGN attribute of the <TD> tag.