#region in XAML

Posted by kenny on Stack Overflow See other posts from Stack Overflow or by kenny
Published on 2010-05-22T13:59:39Z Indexed on 2010/05/22 14:10 UTC
Read the original article Hit count: 158

Filed under:
|
|

I actually don't like #region in my code. BUT for some reason call me crazy, I would like to have them in my XAML. I would like whole sections to have a #region-like thing and collapse them (e.g. my <Window.CommandBindings>, <Grid.*Definitions>, <Menu>, <Toolbar>, etc..

Does this exist? If not, how about <RegionCollapse>

© Stack Overflow or respective owner

Related posts about wpf

Related posts about visual-studio