I know absolutely zero about .NET.
Is there a way for me to show all the vars that are av开发者_运维问答ailable to a user control to use? If they only showed like in a debug mode or something on the host machine that'd be fine.
Thanks!
Not sure what exactly you are asking about, but if you are using visual studio, IntelliSense will show you all members on a control (and any class, struct or object as well).
The best documentation for .NET is on http://msdn.microsoft.com - this will give you all the information you need to use and access the different objects and controls.
Funny no one mentioned it so far, but you can also use the "properties" panel in VS, to get all events and properties.
That's on design view, when your control is selected.
(screenshot is from VS 2010, but you have that on just about every VS version).
If you load up your project in visual studio, the intellisense will present you with all the properties and variables you have access to from a given class.
A user control (I'm assuming it's a .ascx file) is exactly that - a .NET class.
It may perhaps be easier to help you find what you want if you specified exactly what it was you were trying to achieve?
If you are referring to properties/methods and the like check out the MSDN documentation for the given control.
An example would be the ListBox control.
you mean like the autocomplete that shows when pressing cntrl+space?
http://www.asp.net/general/videos/intellisense
http://msdn.microsoft.com/en-us/library/43f44291.aspx
精彩评论