Defines whether scrolling is enabled on the control.
Remarks
Property specifies if all fields are visible in the control at the same time. In this case the width of all fields is automatically adjusted so that all fields are displayed in the control.
If property is set to True, all fields will be displayed in the visual spectre of the control. The control will not contain any slider which could be used to display any hidden fields. If width of one field is changed, widths of other fields compensate for the change. This kind of setting is not appropriate for displaying data with large number of columns.
If property is set to False, fields will have widths defined in design time or with personalization. If the sum of the widths exceeds the width of the control a slider is displayed which can be used to display hidden columns.
The default value for this property is False.
Example (MxSpace)
To see the defined ColumnAutoWidth property on a control (GridEdit) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderManagePart.cs. Click the GridEdit control for displaying work orders and open Property Window. See the value True defined in ColumnAutoWidth property.
To define ColumnAutoWidth property
- In Solution Explorer open MxPart component (WorkOrderManagePart) which contains the control (GridEdit).
- Select the desired control (GridEdit) on the canvas.
- Open Property Window.
- In section GridDisplay in ColumnAutoWidth property select the desired value (True).