示例#1
0
 public static DesignerItem designMode(this DesignerItem designerItem, bool value)
 {
     return((DesignerItem)designerItem.wpfInvoke(
                () => {
         foreach (var subItem in designerItem.controls_Wpf())
         {
             if ((subItem is DesignerItem).isFalse())
             {
                 subItem.IsHitTestVisible = value.not();
             }
         }
         //designerItem.IsHitTestVisible = value;
         return designerItem;
     }));
 }