You can access any members, public and non-public using reflection. If you need it, read on reflection. This is easy. Please start here:
http://msdn.microsoft.com/en-us/library/system.reflection.aspx[
^].
However, something tells me that you don't really need it. If you needed reflection, you would not ask about a concrete
GridView
type you mentioned. You just cannot reach some feature and mean to abuse the class. Access specifiers are written on purpose. Find the legitimate ways of using library components, learn them.
Too bad you did not explain the purpose of the access you wanted. If you did, you would get some more useful advice. But at that time, you certainly need to improve your thinking. One of the typical ridiculous question types on this forum is: "Compiler (exception) tells me: 'you cannot do X'. My question is: how to do X?" :-).
—SA