コード例 #1
0
 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);
     }
 }
コード例 #2
0
 private void layoutControl1_GroupExpandChanged(object sender, DevExpress.XtraLayout.Utils.LayoutGroupEventArgs e)
 {
     parentResize();
 }