'宣言 Public Enum AllowGroupSwapping Inherits System.Enum
public enum AllowGroupSwapping : System.Enum
メンバ | 解説 |
---|---|
Default | デフォルトのグループ入れ替えのスタイル。 |
NotAllowed | 入れ替え不可。 |
WithinBand | バンド内でのグループ入れ替えが可能。 |
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; }