'宣言 Public Enum ViewStyleBand Inherits System.Enum
public enum ViewStyleBand : System.Enum
メンバ | 解説 |
---|---|
Horizontal | 水平。新しい行の上端は親行の上端と並んで表示され、新しい行の左端は親行の右側に表示されます。 |
OutlookGroupBy | Outlook GroupByビュースタイル。 |
Vertical | 垂直。新しい行の上端は親行の下に表示され、新しい行の左端はインデント表示されます。 |
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button2.Click ' Set the ViewStyle to SingleBand so only one tabel is displayed. Me.ultraGrid1.DisplayLayout.ViewStyle = ViewStyle.SingleBand ' Set the ViewStyleBand to OutlookGroupBy to enable outlook-group-by feature. Me.UltraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.OutlookGroupBy End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button2_Click(object sender, System.EventArgs e) { // Set the ViewStyle to SingleBand so only one tabel is displayed. this.ultraGrid1.DisplayLayout.ViewStyle = ViewStyle.SingleBand; // Set the ViewStyleBand to OutlookGroupBy to enable outlook-group-by feature. this.ultraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.OutlookGroupBy; }