C# syntax?

I'm familiar with C++/MFC and I'm starting to work with C# and the new WinFX, and also the new Expression environment. But for this I'm inside VS2005. One thing I want to do is remove the chrome from the default example. I understand this could be done with NavigationWindow.ShowsNavigationUI.

What I need to understand better is how entries like this are supposed to be entered. The intellesense on this comes up with options of Hidden, Visible or Auto. So I would think I could simply do something like NavigationWindow.ShowsNavigationUI.Hidden; NavigationWindow.ShowsNavigationUI.Hidden(); or maybe NavigationWindow.ShowsNavigationUI = Hidden; ... But all of these come back with bad syntax, either i'm using a variable as a method or a property as a variable or some such thing.

There's got to be some way to do this. Can someone point me in the right direction

Thanks,

KC




Answer this question

C# syntax?