Not sure if what you are looking for is the feature called "Selective Display" in SE, and "Code Outlining" (I think) in Visual Studio, but you might see if that's what you are looking for. Frankly, I find the defaults in Visual Studio a zillion times easier than figuring out how to make SE do what I want it to do. I'm sure the SE way to do it is more powerful, but it's less accessible (to me) so I tend to avoid it.