|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Hide property of componentHi,
If I generate a class which inherits from component, is there an attribute I can use on certain properties to keep them from being displayed in the Visual Studio designer? Mind that I still want the properties to be fully accessible through code, just not shown in the designer. Thanks, -Jason Hi,
Set the Browseable attribute to false for the property <Browsable(False)> _ Public Property MyProperty() As Integer http://msdn2.microsoft.com/en-us/library/system.componentmodel.browsableattribute.aspx Ken ---------------------------- Show quoteHide quote "OpticTygre" wrote: > Hi, > > If I generate a class which inherits from component, is there an attribute I > can use on certain properties to keep them from being displayed in the > Visual Studio designer? Mind that I still want the properties to be fully > accessible through code, just not shown in the designer. > > Thanks, > -Jason > > > >
Syntax error in INSERT INTO statement
User Control saving properties PRINTER INFORMATION How to attach an exe to the debugger? question about opening SQL results in Excel from ASP.NET via XML Newbie - MDI Question Getting the generated name attribute for use in JavaScript syntax to compare data from text field, when adding a record, to a field in a table for duplicates Blinking button SQL error with Access DB |
|||||||||||||||||||||||