Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub Button41_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button41.Click ' Set the GroupByRowPadding on the layout's override. Me.UltraGrid1.DisplayLayout.Override.GroupByRowPadding = 4 ' You can override that grid-wide setting for a particular band by setting it on the ' override of that band. Me.UltraGrid1.DisplayLayout.Bands(0).Override.GroupByRowPadding = 2 End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button41_Click(object sender, System.EventArgs e) { // Set the GroupByRowPadding on the layout's override. this.ultraGrid1.DisplayLayout.Override.GroupByRowPadding = 4; // You can override that grid-wide setting for a particular band by setting it on the // override of that band. this.ultraGrid1.DisplayLayout.Bands[0].Override.GroupByRowPadding = 2; }