'Declaration Public Enum AllowGroupSwapping Inherits System.Enum
public enum AllowGroupSwapping : System.Enum
Member | Description |
---|---|
Default | default group swapping style |
NotAllowed | do not allow swapping |
WithinBand | allow group swapping within bands |
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button5.Click ' Set AllowGroupSwapping to true to enable group swapping feature. When enabled, ' the UltraGrid displays small drop down arrows on the group headers which when ' clicked upon drop down a drop down from which the user can select a different ' group to swap with. Me.UltraGrid1.DisplayLayout.Override.AllowGroupSwapping = AllowGroupSwapping.WithinBand ' You can override above grid-wide settings on a particular band by setting the ' property in question to a non-default value in the Override object of that ' band. Me.UltraGrid1.DisplayLayout.Bands(0).Override.AllowGroupSwapping = AllowGroupSwapping.WithinBand End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button5_Click(object sender, System.EventArgs e) { // Set AllowGroupSwapping to true to enable group swapping feature. When enabled, // the UltraGrid displays small drop down arrows on the group headers which when // clicked upon drop down a drop down from which the user can select a different // group to swap with. this.ultraGrid1.DisplayLayout.Override.AllowGroupSwapping = AllowGroupSwapping.WithinBand; // You can override above grid-wide settings on a particular band by setting the // property in question to a non-default value in the Override object of that // band. this.ultraGrid1.DisplayLayout.Bands[0].Override.AllowGroupSwapping = AllowGroupSwapping.WithinBand; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2