1.

You Are Creating A Custom Usercontrol, Some Of The Newly Created Properties Are Shown In The Properties Window. How You Can Hide A New Property Named Theme From The Properties Window?

Answer»

USE the attribute [Browsable(false)] ALONG with the property

[Browsable(false)]
PUBLIC string THEME
{
get;
SET;
}

Use the attribute [Browsable(false)] along with the property

[Browsable(false)]
public string Theme
{
get;
set;
}



Discussion

No Comment Found