在设计视图中编辑扩展的系统控件 [英] Editing an extended system control in design view
本文介绍了在设计视图中编辑扩展的系统控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Visual Studio中,我可以创建一个自定义用户控件.
公共局部类UserControl1:UserControl
我可以在设计视图中编辑此控件.
如果我从现有系统控件中派生一个控件,则无法在设计视图中对其进行编辑.
公共局部类UserControl1:ToolStrip
如何在设计视图中编辑此控件?
In visual studio i can create a custom user control.
public partial class UserControl1 : UserControl
I can edit this control in the design view.
if i derive a control from a existing system control i cant edit it in design view.
public partial class UserControl1 : ToolStrip
how can i edit this control in design view?
推荐答案
请参见 ^ ].它应该与普通的用户控件非常相似.
See here[^]. It should be very similar to a normal usercontrol.
这篇关于在设计视图中编辑扩展的系统控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文