wow, the winforms to WPF transition looks like its going to be fun. Does anybody know how to hide a submenu item in wpf based on a variable?

ie. in winforms style:

Code:
if administrator = false
     administratormenuitem.visible=False
endif
thanks guys - as always, i'll keep looking for the solution on my own and if i find it i'll post it.....