Hide WPF elements in Visual Studio designer

Starting from VS2012 you can just use the Blend namespace IsHidden attribute:

  • add if not already present xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″
  • put d:IsHidden=”true” on element you want to hide at design time only

Leave a Comment