I am writing an ASP.NET user control and I want it to have several properties that should only be visible from the code at runtime - I mean that these properties should not be visible either in the designer or in the designer The aspx code for the page containing this control. I tried using the following attributes:
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public List<Item> SomeData { ... }
but unfortunately this property still appears in the Intellisense combo box when editing an aspx page. Is it possible to hide this property everywhere except server code?
user268580
source share