コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor1    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor2    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor3    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor4    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor5    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor6    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor7    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor8    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor9    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor10   = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor11   = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor12   = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor13   = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor6 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor7 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     this.dataSet11            = new EmployeeView.DataSet1();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.panel1     = new System.Windows.Forms.Panel();
     this.buttonAdv5 = new Syncfusion.Windows.Forms.ButtonAdv();
     this.buttonAdv4 = new Syncfusion.Windows.Forms.ButtonAdv();
     this.buttonAdv3 = new Syncfusion.Windows.Forms.ButtonAdv();
     this.buttonAdv2 = new Syncfusion.Windows.Forms.ButtonAdv();
     this.buttonAdv1 = new Syncfusion.Windows.Forms.ButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // dataSet11
     //
     this.dataSet11.DataSetName             = "DataSet1";
     this.dataSet11.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.BaseStyle   = "";
     this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.Interior    = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(201)))), ((int)(((byte)(219))))));
     this.gridGroupingControl1.Appearance.RecordPreviewCell.BaseStyle          = "";
     this.gridGroupingControl1.Appearance.RecordPreviewCell.Interior           = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(240)))), ((int)(((byte)(246))))));
     this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.BaseStyle = "";
     this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.CellType  = "Static";
     this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.Enabled   = false;
     this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordAfterDetails  = true;
     this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.Font                     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridGroupingControl1.FreezeCaption            = false;
     this.gridGroupingControl1.GridOfficeScrollBars     = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.GridVisualStyles         = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridGroupingControl1.Location                 = new System.Drawing.Point(21, 8);
     this.gridGroupingControl1.Name                     = "gridGroupingControl1";
     this.gridGroupingControl1.Size                     = new System.Drawing.Size(802, 634);
     this.gridGroupingControl1.TabIndex                 = 1;
     this.gridGroupingControl1.TableDescriptor.AllowNew = false;
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename             = "Segoe UI";
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Bottom       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Right        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior             = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor            = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior           = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold        = true;
     this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType         = "ColumnHeader";
     gridColumnDescriptor1.HeaderImage          = null;
     gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor1.HeaderText           = "ID";
     gridColumnDescriptor1.MappingName          = "EmployeeID";
     gridColumnDescriptor1.SerializedImageArray = "";
     gridColumnDescriptor1.Width                 = 60;
     gridColumnDescriptor2.HeaderImage           = null;
     gridColumnDescriptor2.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor2.MappingName           = "FirstName";
     gridColumnDescriptor2.SerializedImageArray  = "";
     gridColumnDescriptor2.Width                 = 115;
     gridColumnDescriptor3.HeaderImage           = null;
     gridColumnDescriptor3.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor3.MappingName           = "LastName";
     gridColumnDescriptor3.SerializedImageArray  = "";
     gridColumnDescriptor4.HeaderImage           = null;
     gridColumnDescriptor4.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor4.MappingName           = "Address";
     gridColumnDescriptor4.SerializedImageArray  = "";
     gridColumnDescriptor4.Width                 = 118;
     gridColumnDescriptor5.HeaderImage           = null;
     gridColumnDescriptor5.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor5.MappingName           = "City";
     gridColumnDescriptor5.SerializedImageArray  = "";
     gridColumnDescriptor5.Width                 = 83;
     gridColumnDescriptor6.HeaderImage           = null;
     gridColumnDescriptor6.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor6.MappingName           = "PostalCode";
     gridColumnDescriptor6.SerializedImageArray  = "";
     gridColumnDescriptor7.HeaderImage           = null;
     gridColumnDescriptor7.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor7.MappingName           = "Region";
     gridColumnDescriptor7.SerializedImageArray  = "";
     gridColumnDescriptor7.Width                 = 80;
     gridColumnDescriptor8.HeaderImage           = null;
     gridColumnDescriptor8.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor8.MappingName           = "Country";
     gridColumnDescriptor8.SerializedImageArray  = "";
     gridColumnDescriptor8.Width                 = 80;
     gridColumnDescriptor9.HeaderImage           = null;
     gridColumnDescriptor9.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor9.MappingName           = "BirthDate";
     gridColumnDescriptor9.SerializedImageArray  = "";
     gridColumnDescriptor10.HeaderImage          = null;
     gridColumnDescriptor10.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor10.MappingName          = "Photo";
     gridColumnDescriptor10.SerializedImageArray = "";
     gridColumnDescriptor11.HeaderImage          = null;
     gridColumnDescriptor11.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor11.MappingName          = "ReportsTo";
     gridColumnDescriptor11.SerializedImageArray = "";
     gridColumnDescriptor12.HeaderImage          = null;
     gridColumnDescriptor12.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor12.MappingName          = "Title";
     gridColumnDescriptor12.SerializedImageArray = "";
     gridColumnDescriptor12.Width                = 144;
     gridColumnDescriptor13.HeaderImage          = null;
     gridColumnDescriptor13.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor13.MappingName          = "TitleOfCourtesy";
     gridColumnDescriptor13.SerializedImageArray = "";
     gridColumnDescriptor13.Width                = 133;
     this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] {
         gridColumnDescriptor1,
         gridColumnDescriptor2,
         gridColumnDescriptor3,
         gridColumnDescriptor4,
         gridColumnDescriptor5,
         gridColumnDescriptor6,
         gridColumnDescriptor7,
         gridColumnDescriptor8,
         gridColumnDescriptor9,
         gridColumnDescriptor10,
         gridColumnDescriptor11,
         gridColumnDescriptor12,
         gridColumnDescriptor13
     });
     gridColumnSetDescriptor1.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("EmployeeID", "R0C0:R1C0")
     });
     gridColumnSetDescriptor1.Name = "ColumnSetId";
     gridColumnSetDescriptor2.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Photo", "R0C0:R1C0")
     });
     gridColumnSetDescriptor2.Name = "ColumnSetPhoto";
     gridColumnSetDescriptor3.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("FirstName", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("LastName", "R1C0")
     });
     gridColumnSetDescriptor3.Name = "ColumnSetName";
     gridColumnSetDescriptor4.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Address", "R0C0:R0C1"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("City", "R1C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("PostalCode", "R1C1")
     });
     gridColumnSetDescriptor4.Name = "ColumnSetAddress";
     gridColumnSetDescriptor5.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Region", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Country", "R1C0")
     });
     gridColumnSetDescriptor5.Name = "ColumnSetRegionCountry";
     gridColumnSetDescriptor6.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Title", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("TitleOfCourtesy", "R1C0")
     });
     gridColumnSetDescriptor6.Name = "ColumnSetTitle";
     gridColumnSetDescriptor7.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("BirthDate", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("ReportsTo", "R1C0")
     });
     gridColumnSetDescriptor7.Name = "ColumnSetBirth";
     this.gridGroupingControl1.TableDescriptor.ColumnSets.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor[] {
         gridColumnSetDescriptor1,
         gridColumnSetDescriptor2,
         gridColumnSetDescriptor3,
         gridColumnSetDescriptor4,
         gridColumnSetDescriptor5,
         gridColumnSetDescriptor6,
         gridColumnSetDescriptor7
     });
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25;
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = 20;
     this.gridGroupingControl1.TableOptions.RecordPreviewRowHeight = 60;
     this.gridGroupingControl1.TableOptions.RecordRowHeight        = 30;
     this.gridGroupingControl1.TableOptions.ShowRecordPreviewRow   = true;
     this.gridGroupingControl1.Text = "gridGroupingControl1";
     this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordAfterDetails  = false;
     this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = true;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.buttonAdv5);
     this.panel1.Controls.Add(this.buttonAdv4);
     this.panel1.Controls.Add(this.buttonAdv3);
     this.panel1.Controls.Add(this.buttonAdv2);
     this.panel1.Controls.Add(this.buttonAdv1);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 8.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(829, 8);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(187, 635);
     this.panel1.TabIndex = 2;
     //
     // buttonAdv5
     //
     this.buttonAdv5.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv5.FlatStyle         = FlatStyle.Flat;
     this.buttonAdv5.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.buttonAdv5.BeforeTouchSize   = new System.Drawing.Size(151, 40);
     this.buttonAdv5.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.buttonAdv5.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv5.ForeColor         = System.Drawing.Color.White;
     this.buttonAdv5.IsBackStageButton = false;
     this.buttonAdv5.Location          = new System.Drawing.Point(16, 215);
     this.buttonAdv5.Name              = "buttonAdv5";
     this.buttonAdv5.Size              = new System.Drawing.Size(151, 40);
     this.buttonAdv5.TabIndex          = 6;
     this.buttonAdv5.Text              = "Edit custom styles";
     this.buttonAdv5.Click            += new System.EventHandler(this.buttonAdv5_Click);
     //
     // buttonAdv4
     //
     this.buttonAdv4.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv4.FlatStyle         = FlatStyle.Flat;
     this.buttonAdv4.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.buttonAdv4.BeforeTouchSize   = new System.Drawing.Size(151, 40);
     this.buttonAdv4.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.buttonAdv4.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv4.ForeColor         = System.Drawing.Color.White;
     this.buttonAdv4.IsBackStageButton = false;
     this.buttonAdv4.Location          = new System.Drawing.Point(16, 165);
     this.buttonAdv4.Name              = "buttonAdv4";
     this.buttonAdv4.Size              = new System.Drawing.Size(151, 40);
     this.buttonAdv4.TabIndex          = 5;
     this.buttonAdv4.Text              = "Restore all from xml";
     this.buttonAdv4.Click            += new System.EventHandler(this.buttonAdv4_Click);
     //
     // buttonAdv3
     //
     this.buttonAdv3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv3.FlatStyle         = FlatStyle.Flat;
     this.buttonAdv3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.buttonAdv3.BeforeTouchSize   = new System.Drawing.Size(151, 40);
     this.buttonAdv3.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.buttonAdv3.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv3.ForeColor         = System.Drawing.Color.White;
     this.buttonAdv3.IsBackStageButton = false;
     this.buttonAdv3.Location          = new System.Drawing.Point(16, 115);
     this.buttonAdv3.Name              = "buttonAdv3";
     this.buttonAdv3.Size              = new System.Drawing.Size(151, 40);
     this.buttonAdv3.TabIndex          = 4;
     this.buttonAdv3.Text              = "Clear all";
     this.buttonAdv3.Click            += new System.EventHandler(this.buttonAdv3_Click);
     //
     // buttonAdv2
     //
     this.buttonAdv2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv2.FlatStyle         = FlatStyle.Flat;
     this.buttonAdv2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.buttonAdv2.BeforeTouchSize   = new System.Drawing.Size(151, 40);
     this.buttonAdv2.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.buttonAdv2.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv2.ForeColor         = System.Drawing.Color.White;
     this.buttonAdv2.IsBackStageButton = false;
     this.buttonAdv2.Location          = new System.Drawing.Point(16, 65);
     this.buttonAdv2.Name              = "buttonAdv2";
     this.buttonAdv2.Size              = new System.Drawing.Size(151, 40);
     this.buttonAdv2.TabIndex          = 3;
     this.buttonAdv2.Text              = "Save all to xml";
     this.buttonAdv2.Click            += new System.EventHandler(this.buttonAdv2_Click);
     //
     // buttonAdv1
     //
     this.buttonAdv1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv1.FlatStyle         = FlatStyle.Flat;
     this.buttonAdv1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.buttonAdv1.BeforeTouchSize   = new System.Drawing.Size(151, 40);
     this.buttonAdv1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.buttonAdv1.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv1.ForeColor         = System.Drawing.Color.White;
     this.buttonAdv1.IsBackStageButton = false;
     this.buttonAdv1.Location          = new System.Drawing.Point(16, 15);
     this.buttonAdv1.Name              = "buttonAdv1";
     this.buttonAdv1.Size              = new System.Drawing.Size(151, 40);
     this.buttonAdv1.TabIndex          = 2;
     this.buttonAdv1.Text              = "Initialize with custom styles";
     this.buttonAdv1.Click            += new System.EventHandler(this.buttonAdv1_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1012, 653);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.gridGroupingControl1);
     this.MinimumSize = new System.Drawing.Size(800, 400);
     this.Name        = "Form1";
     this.Text        = "Employee View ";
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor14    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor15    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor16    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor17    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor18    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor19    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor20    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor21    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor22    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor23    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor24    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor25    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor    gridColumnDescriptor26    = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor8  = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor9  = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor10 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor11 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor12 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor13 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor14 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor();
     this.dataSet11            = new EmployeeView.DataSet1();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.propertyGrid1        = new System.Windows.Forms.PropertyGrid();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     this.SuspendLayout();
     //
     // dataSet11
     //
     this.dataSet11.DataSetName             = "DataSet1";
     this.dataSet11.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.BaseStyle   = "";
     this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.Interior    = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(201)))), ((int)(((byte)(219))))));
     this.gridGroupingControl1.Appearance.RecordPreviewCell.BaseStyle          = "";
     this.gridGroupingControl1.Appearance.RecordPreviewCell.Interior           = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(240)))), ((int)(((byte)(246))))));
     this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.BaseStyle = "";
     this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.CellType  = "Static";
     this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.Enabled   = false;
     this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordAfterDetails  = true;
     this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.DataSource               = this.dataSet11.Employees;
     this.gridGroupingControl1.Font                     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridGroupingControl1.FreezeCaption            = false;
     this.gridGroupingControl1.GridOfficeScrollBars     = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.GridVisualStyles         = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridGroupingControl1.Location                 = new System.Drawing.Point(13, 15);
     this.gridGroupingControl1.Name                     = "gridGroupingControl1";
     this.gridGroupingControl1.Size                     = new System.Drawing.Size(685, 620);
     this.gridGroupingControl1.TabIndex                 = 0;
     this.gridGroupingControl1.TableDescriptor.AllowNew = false;
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename             = "Segoe UI";
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Bottom       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Right        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior             = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor            = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior           = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold        = true;
     this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType         = "ColumnHeader";
     gridColumnDescriptor14.HeaderImage          = null;
     gridColumnDescriptor14.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor14.HeaderText           = "ID";
     gridColumnDescriptor14.MappingName          = "EmployeeID";
     gridColumnDescriptor14.SerializedImageArray = "";
     gridColumnDescriptor14.Width                = 60;
     gridColumnDescriptor15.HeaderImage          = null;
     gridColumnDescriptor15.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor15.MappingName          = "FirstName";
     gridColumnDescriptor15.SerializedImageArray = "";
     gridColumnDescriptor15.Width                = 115;
     gridColumnDescriptor16.HeaderImage          = null;
     gridColumnDescriptor16.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor16.MappingName          = "LastName";
     gridColumnDescriptor16.SerializedImageArray = "";
     gridColumnDescriptor17.HeaderImage          = null;
     gridColumnDescriptor17.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor17.MappingName          = "Address";
     gridColumnDescriptor17.SerializedImageArray = "";
     gridColumnDescriptor17.Width                = 118;
     gridColumnDescriptor18.HeaderImage          = null;
     gridColumnDescriptor18.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor18.MappingName          = "City";
     gridColumnDescriptor18.SerializedImageArray = "";
     gridColumnDescriptor18.Width                = 83;
     gridColumnDescriptor19.HeaderImage          = null;
     gridColumnDescriptor19.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor19.MappingName          = "PostalCode";
     gridColumnDescriptor19.SerializedImageArray = "";
     gridColumnDescriptor20.HeaderImage          = null;
     gridColumnDescriptor20.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor20.MappingName          = "Region";
     gridColumnDescriptor20.SerializedImageArray = "";
     gridColumnDescriptor20.Width                = 80;
     gridColumnDescriptor21.HeaderImage          = null;
     gridColumnDescriptor21.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor21.MappingName          = "Country";
     gridColumnDescriptor21.SerializedImageArray = "";
     gridColumnDescriptor21.Width                = 80;
     gridColumnDescriptor22.HeaderImage          = null;
     gridColumnDescriptor22.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor22.MappingName          = "BirthDate";
     gridColumnDescriptor22.SerializedImageArray = "";
     gridColumnDescriptor23.HeaderImage          = null;
     gridColumnDescriptor23.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor23.MappingName          = "Photo";
     gridColumnDescriptor23.SerializedImageArray = "";
     gridColumnDescriptor24.HeaderImage          = null;
     gridColumnDescriptor24.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor24.MappingName          = "ReportsTo";
     gridColumnDescriptor24.SerializedImageArray = "";
     gridColumnDescriptor25.HeaderImage          = null;
     gridColumnDescriptor25.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor25.MappingName          = "Title";
     gridColumnDescriptor25.SerializedImageArray = "";
     gridColumnDescriptor25.Width                = 144;
     gridColumnDescriptor26.HeaderImage          = null;
     gridColumnDescriptor26.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor26.MappingName          = "TitleOfCourtesy";
     gridColumnDescriptor26.SerializedImageArray = "";
     gridColumnDescriptor26.Width                = 133;
     this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] {
         gridColumnDescriptor14,
         gridColumnDescriptor15,
         gridColumnDescriptor16,
         gridColumnDescriptor17,
         gridColumnDescriptor18,
         gridColumnDescriptor19,
         gridColumnDescriptor20,
         gridColumnDescriptor21,
         gridColumnDescriptor22,
         gridColumnDescriptor23,
         gridColumnDescriptor24,
         gridColumnDescriptor25,
         gridColumnDescriptor26
     });
     gridColumnSetDescriptor8.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("EmployeeID", "R0C0:R1C0")
     });
     gridColumnSetDescriptor8.Name = "ColumnSetId";
     gridColumnSetDescriptor9.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Photo", "R0C0:R1C0")
     });
     gridColumnSetDescriptor9.Name = "ColumnSetPhoto";
     gridColumnSetDescriptor10.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("FirstName", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("LastName", "R1C0")
     });
     gridColumnSetDescriptor10.Name = "ColumnSetName";
     gridColumnSetDescriptor11.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Address", "R0C0:R0C1"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("City", "R1C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("PostalCode", "R1C1")
     });
     gridColumnSetDescriptor11.Name = "ColumnSetAddress";
     gridColumnSetDescriptor12.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Region", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Country", "R1C0")
     });
     gridColumnSetDescriptor12.Name = "ColumnSetRegionCountry";
     gridColumnSetDescriptor13.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Title", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("TitleOfCourtesy", "R1C0")
     });
     gridColumnSetDescriptor13.Name = "ColumnSetTitle";
     gridColumnSetDescriptor14.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("BirthDate", "R0C0"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("ReportsTo", "R1C0")
     });
     gridColumnSetDescriptor14.Name = "ColumnSetBirth";
     this.gridGroupingControl1.TableDescriptor.ColumnSets.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor[] {
         gridColumnSetDescriptor8,
         gridColumnSetDescriptor9,
         gridColumnSetDescriptor10,
         gridColumnSetDescriptor11,
         gridColumnSetDescriptor12,
         gridColumnSetDescriptor13,
         gridColumnSetDescriptor14
     });
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25;
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = 20;
     this.gridGroupingControl1.TableOptions.RecordPreviewRowHeight = 60;
     this.gridGroupingControl1.TableOptions.RecordRowHeight        = 30;
     this.gridGroupingControl1.TableOptions.ShowRecordPreviewRow   = true;
     this.gridGroupingControl1.Text = "gridGroupingControl1";
     this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordAfterDetails  = false;
     this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = true;
     this.gridGroupingControl1.QueryCellStyleInfo += new Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventHandler(this.gridGroupingControl1_QueryCellStyleInfo);
     //
     // propertyGrid1
     //
     this.propertyGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid1.BackColor                 = System.Drawing.Color.White;
     this.propertyGrid1.CommandsBackColor         = System.Drawing.Color.White;
     this.propertyGrid1.CommandsDisabledLinkColor = System.Drawing.Color.White;
     this.propertyGrid1.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.propertyGrid1.HelpBackColor = System.Drawing.Color.White;
     this.propertyGrid1.LineColor     = System.Drawing.Color.White;
     this.propertyGrid1.Location      = new System.Drawing.Point(704, 15);
     this.propertyGrid1.Name          = "propertyGrid1";
     this.propertyGrid1.Size          = new System.Drawing.Size(292, 620);
     this.propertyGrid1.TabIndex      = 9;
     //
     // Form1
     //
     this.ClientSize  = new System.Drawing.Size(1012, 656);
     this.MinimumSize = new System.Drawing.Size(850, 500);
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.gridGroupingControl1);
     this.Name = "Form1";
     this.Text = "Record Customization";
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     this.ResumeLayout(false);
 }