Version

Please note that this control has been retired and is now obsolete to the XamDataGrid control, and as such, we recommend migrating to that control. It will not be receiving any new features, bug fixes, or support going forward. For help or questions on migrating your codebase to the XamDataGrid, please contact support.

Resize Cells in the Cell Area

When using the xamGrid™ control, you can enable cell resizing. This feature allows you to not only resize on the header, but also resize on each cell.

This is a useful feature if your end user is unable to read the data contained within a cell, they can simply resize it to their desired width.

When your end user resizes a cell, the entire column will also be resized.

To enable cell resizing, you can set the ColumnResizingSettingsobject’s AllowCellAreaResizing property to True.

In XAML:

<ig:XamGrid x:Name="MyGrid">
   <ig:XamGrid.ColumnResizingSettings>
      <ig:ColumnResizingSettings AllowColumnResizing="Indicator"
            AllowCellAreaResizing="True"/>
   </ig:XamGrid.ColumnResizingSettings>
</ig:XamGrid>

In Visual Basic:

Me.MyGrid.ColumnResizingSettings.AllowCellAreaResizing = True

In C#:

this.MyGrid.ColumnResizingSettings.AllowCellAreaResizing = true;