private void layoutControlAddress_GroupExpandChanged(object sender, DevExpress.XtraLayout.Utils.LayoutGroupEventArgs e) { DevExpress.XtraLayout.LayoutControl LayoutControl = (DevExpress.XtraLayout.LayoutControl)sender; if (e.Group.Expanded == true) { LayoutControl.Size = new Size(LayoutControl.Size.Width, (LayoutControl.MaximumSize.Height)); } else { LayoutControl.Size = new Size(LayoutControl.Size.Width, iMinControlItemHeight); } }
private void layoutControl1_GroupExpandChanged(object sender, DevExpress.XtraLayout.Utils.LayoutGroupEventArgs e) { parentResize(); }