Infragistics(R) NetAdvantage(R) Windows Forms
AllowMultiCellOperations Property
See Also  Example E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > UltraGridOverride Class : AllowMultiCellOperations Property

Specifies if and which of the multi-cell operations the user is allowed to perform.

Syntax

Visual Basic (Declaration) 
Public Property AllowMultiCellOperations As AllowMultiCellOperation
C# 
public AllowMultiCellOperation AllowMultiCellOperations {get; set;}

Example

The following code will allow the user to Cut, Copy, and Paste grid cells. The code must be placed in the InitializeLayout event of the grid.

Visual BasicCopy Code
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

' Turn on all of the Cut, Copy, and Paste functionality. 
e.Layout.Override.AllowMultiCellOperations = AllowMultiCellOperation.All
C#Copy Code
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;

// Turn on all of the Cut, Copy, and Paste functionality. 
e.Layout.Override.AllowMultiCellOperations = AllowMultiCellOperation.All;

Remarks

AllowMultiCellOperations specifies if and which multi-cell operation the user is allowed to perform. See AllowMultiCellOperation enum for a full listing of supported operations.

To perform any of these operations in code, use the control's PerformAction method.

See Also