如何在webChart自定义控件中(从WebControl中继承),移出不需要的属性
解决方案 »
- 求助啊这个模糊查询怎么错了?
- 急!!!为什么VS2008 总是显示在屏幕最前面?
- 大家把好点的代码拿来分享下啊!
- 大家在使用GridView时有没有碰到过这种问题
- 左下角老出现"网页有错误"
- 散分,求一本FLASH教程
- asp.net 2.0 menu问题.很严重啊 涉及XML
- 如何给datalist里的删除按纽弹出一个确认对话框。
- 急救!!!我的aspx文件突然变成了5.77M,怎么办?
- 各位高手,请问大家有没有看过这个网站http://www.i-see.net/bindows/download/,有很多特色,点击那个download,弹出的那个登录/注册窗
- 哪位能告诉我Visual Studio.Net的发展经历了哪几个版本?分别对应.net framework的哪个版本?
- Asp.Net页面输出到EXCEL(连)
<NotifyParentProperty(True),Browsable(False)> _
Public Overrides Property CssClass() As String
Get
Return MyBase.CssClass
End Get
Set(ByVal Value As String)
MyBase.CssClass = Value
end set
End Property
EnsureChildControls()
我晓的了 <NotifyParentProperty(True)> _
Public Overrides Property BackColor() As System.Drawing.Color
Get
Return MyBase.BackColor
End Get
Set(ByVal Value As System.Drawing.Color)
MyBase.BackColor = Value
If Not 子控件 Is Nothing Then
子控件.BackColor = MyBase.BackColor
End If
End Set
End Property<NotifyParentProperty(True)> _
Public Overrides Property Width() As System.Web.UI.WebControls.Unit
Get
Return MyBase.Width End Get
Set(ByVal Value As System.Web.UI.WebControls.Unit)
MyBase.Width=value
If Not 子控件 Is Nothing Then
子控件.Width= MyBase.Width
End If End Set
End Property
[NotifyParentProperty(true)]
public override Unit Width
{
get
{
return base.Width;
}
set
{
base.Width = value;
if (Controls != null)
{
this.Width = base.Width;
}
}
}
http://community.csdn.net/Expert/topic/3924/3924466.xml?temp=.9307672
http://community.csdn.net/Expert/topic/3924/3924466.xml?temp=.9307672