How to resize System.Windows. Control.Panel if the window inside which the Panel is placed is minimised or maximised.
how to resize System.Windows.Control.Panel according to Window size
Collapse
X
-
Tags: None
-
Hey mansigupta31 set the Anchor property for that Panel, like as follows.
Code:this.panel1.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)));
Comment