J
Joey Lee
Hi,
I created a custom control inheriting from DataGrid
I would like to put a custom property for design time manipulation
I added the accessor as below code but is does not appear in the property
window. However other custom control i created having this code has no
problem at all. Please help
Thanks
Joey
======================================================
[Bindable(true),
Category("CustomSettings"),
DefaultValue(""),
DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
protected string MyNewProp
{
set
{
myNewProp= value;
}
get
{
return myNewProp;
}
}
I created a custom control inheriting from DataGrid
I would like to put a custom property for design time manipulation
I added the accessor as below code but is does not appear in the property
window. However other custom control i created having this code has no
problem at all. Please help
Thanks
Joey
======================================================
[Bindable(true),
Category("CustomSettings"),
DefaultValue(""),
DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
protected string MyNewProp
{
set
{
myNewProp= value;
}
get
{
return myNewProp;
}
}