#region in XAML

前端 未结 8 1955
借酒劲吻你
借酒劲吻你 2020-12-24 11:16

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-li

8条回答
  •  死守一世寂寞
    2020-12-24 12:17

    In Visual Studio 2012 Update 4, I was able to select a very large section of XAML code, right click and choose "hide selection". (basically collapses that section with the [...] notation, and after expanding it, the system "remembers" that I wanted to collapse that portion with the [-] notation next to the line numbers.

提交回复
热议问题