组件编程:我写了一个组件属性,为什么在属性列表中没有这个属性名呢?
原有的组件属性:
public string textString
{
get
{
this.EnsureChildControls();
return textBox.Text;
}
set
{
this.EnsureChildControls();
textBox.Text = value;
}
}
我写的测试属性:
public string textTestString
{
get
{
this.EnsureChildControls();
return textBox.Text;
}
set
{
this.EnsureChildControls();
textBox.Text = value;
}
}
为什么会没有这个属性呢?