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.

Setting the Drop Area Location

You can configure an area on the xamGrid™ control where your end users can drag a column into and it will automatically become fixed. Also when your end users drag a fixed column from this area, it will automatically return to its original unpinned position.

Setting the FixedColumnSettings object’s FixedDropAreaLocation property to left, right or both will determine the location of the drop area.

In XAML:

<ig:XamGrid.FixedColumnSettings>
   <ig:FixedColumnSettings AllowFixedColumns="DropArea"
      FixedDropAreaLocation="Left"/>
</ig:XamGrid.FixedColumnSettings>

In Visual Basic:

Imports Infragistics.Controls.Grids
...
Me.MyGrid.FixedColumnSettings.AllowFixedColumns = FixedColumnType.DropArea
Me.MyGrid.FixedColumnSettings.FixedDropAreaLocation = FixedDropAreaLocation.Left

In C#:

using Infragistics.Controls.Grids;
...
this.MyGrid.FixedColumnSettings.AllowFixedColumns = FixedColumnType.DropArea;
this.MyGrid.FixedColumnSettings.FixedDropAreaLocation = FixedDropAreaLocation.Left;