How to remove Panel Border?
-
I have a user control that inherited from Panel. I want to remove the dotted boder that the panel paints. The base.OnPaint is not called so how exaclty do I remove the Panel border? Thanks
-
I have a user control that inherited from Panel. I want to remove the dotted boder that the panel paints. The base.OnPaint is not called so how exaclty do I remove the Panel border? Thanks
Does it show border while in the IDE or when running the application? If it is while in the IDE then dont worry about that the IDE draws that. If you are running the application then I would like to know the Panel you are inheriting from is it part of the Windows.Forms library or you own? As far as I know Panels do not ever have a dotted border unless you put it there. Mitchell Geere
-
Does it show border while in the IDE or when running the application? If it is while in the IDE then dont worry about that the IDE draws that. If you are running the application then I would like to know the Panel you are inheriting from is it part of the Windows.Forms library or you own? As far as I know Panels do not ever have a dotted border unless you put it there. Mitchell Geere
-
The border only shows up in design-time. I created a control that inhertied from the panel though I do not want the dotted border in design time.