简体   繁体   English

WPF 组件在设计器中隐藏子组件

[英]WPF Component Obscures Subcomponents in Designer

Some components like the viewbox are displayed in the visual designer as solid boxes.像视图框这样的一些组件在可视化设计器中显示为实心框。 However, they can contain subcomponents.但是,它们可以包含子组件。 To view the subcomponents I comment out the viewbox.要查看子组件,我将视图框注释掉。 When I'm done I have to remove the comments to restore the functionality.完成后,我必须删除评论以恢复功能。 It's rather annoying.这很烦人。 Is there any way to permanently make the viewbox invisible (or behave like the dockview/stackview components) in the visual designer?有没有办法在视觉设计器中永久地使视图框不可见(或表现得像dockview/stackview组件)?

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

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