简体   繁体   English

将用户控件停靠在Tab组件中

[英]Docking user controls in a Tab component

I'm trying to dock two user controls in a tab component. 我试图将两个用户控件停靠在选项卡组件中。 I have set the dock property in my tab component to fill. 我已经在我的标签组件中设置了停靠属性以进行填充。 But when i maximize the window the component in the user control stay in the same location in the tab component. 但是,当我最大化窗口时,用户控件中的组件将停留在选项卡组件中的相同位置。 What should i do ? 我该怎么办 ?

当您将控件停靠在父组件中时,请确保控件的每个边缘也在父组件的每个边缘中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM