471,086 Members | 894 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

How to see the changed value in design mode of costume control

Peace,

I'm trying to view the changed property of a costume control when i change it in the design mode.

i defined the property as followed:

[Bindable(true)]
[Category("Box")]
[DefaultValue("Sophia")]
[Description("The Item description displayed in the control")]
public string DBItem_Description
{
get
{
EnsureChildControls();
return ItemDesc.Text;
}
set
{
EnsureChildControls();
ItemDesc.Text = value;
}
}

but it seems to ignore the default value and allso even if i change the value in the design mode i get the same ignorance from the VStudio.

thanks,
lior
Oct 11 '06 #1
0 892

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Tom Rahav | last post: by
3 posts views Thread by Eric Hudson | last post: by
2 posts views Thread by manstey | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.