rec*_*ive 2 c# propertygrid user-controls visual-studio-2005 windows-forms-designer
我有一个用户控件,其中包含以下代码.
[System.ComponentModel.Category("Appearance")]
public override string Text { ... }
private int myVar;
[System.ComponentModel.Category("Appearance")]
public int MyProperty { ... }
Run Code Online (Sandbox Code Playgroud)
MyProperty当控件插入表单时,Text会显示在属性网格中,但不会.我怎样才能看到它?
| 归档时间: |
|
| 查看次数: |
1443 次 |
| 最近记录: |