'Declaration Public Enum AllowGroupMoving Inherits System.Enum
public enum AllowGroupMoving : System.Enum
Member | Description |
---|---|
Default | Use Default. The setting of the object's parent will be used. |
NotAllowed | Not Allowed. Groups cannot be moved by the user. |
WithinBand | Within Band. Groups can be moved by the user within the same band. |
WithinGroup | Within Group. Groups can be moved by the user within the same Group. This option is only supported when UltraGridBand.RowLayoutStyle RowLayoutStyle is set to GroupLayout. |
AllowGroupMoving enum is used for specifying the Override's UltraGridOverride.AllowGroupMoving property.
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button4.Click ' Disallow users to move groups. Me.UltraGrid1.DisplayLayout.Override.AllowGroupMoving = AllowGroupMoving.NotAllowed ' 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.AllowGroupMoving = AllowGroupMoving.WithinBand End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button4_Click(object sender, System.EventArgs e) { // Disallow users to move groups. this.ultraGrid1.DisplayLayout.Override.AllowGroupMoving = AllowGroupMoving.NotAllowed; // 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.AllowGroupMoving = AllowGroupMoving.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
Infragistics.Win.UltraWinGrid Namespace
AllowGroupSwapping Property
AllowColMoving Property
AllowColSizing Property
AllowColSwapping Property
AllowRowLayoutColMoving Property
AllowRowLayoutCellSizing Property
AllowRowLayoutCellSpanSizing Property
AllowRowLayoutLabelSizing Property
AllowRowLayoutLabelSpanSizing Property