{"id":15,"date":"2011-05-21T11:10:45","date_gmt":"2011-05-21T11:10:45","guid":{"rendered":"http:\/\/devnot.wordpress.com\/?p=15"},"modified":"2011-05-21T11:10:45","modified_gmt":"2011-05-21T11:10:45","slug":"disable-a-toolbar-or-toolstrippanel","status":"publish","type":"post","link":"https:\/\/thomas-jansen.eu\/?p=15","title":{"rendered":"Disable a toolbar or ToolStripPanel"},"content":{"rendered":"<p>Individual toolbars \/ toolstrips can be disabled by using the enabled property.<\/p>\n<p>When in a <em>ToolStrip<\/em> in inside a <em>ToolStripContainer<\/em> the entire panel (and the hosted toolstrips) can be disabled all at once.<\/p>\n<p>For example<br \/>\ntoolStripContainer1.TopToolStripPanel.Enabled = false;<br \/>\ntoolStripContainer1.BottomToolStripPanel.Enabled = false;<br \/>\ntoolStripContainer1.LeftToolStripPanel.Enabled = false;<br \/>\ntoolStripContainer1.RightToolStripPanel.Enabled = false;<strong><\/strong><\/p>\n<p><strong>Note:<br \/>\n<\/strong>Do not disable the toolStripContainer1 since it will also disable the hosted panel in the center.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Individual toolbars \/ toolstrips can be disabled by using the enabled property. When in a ToolStrip in inside a ToolStripContainer the entire panel (and the hosted toolstrips) can be disabled all at once. For example toolStripContainer1.TopToolStripPanel.Enabled = false; toolStripContainer1.BottomToolStripPanel.Enabled = false; toolStripContainer1.LeftToolStripPanel.Enabled = false; toolStripContainer1.RightToolStripPanel.Enabled = false; Note: Do not disable the toolStripContainer1 since it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[23,77,78],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-c","tag-disable","tag-toolbar","tag-toolstrip"],"_links":{"self":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15"}],"version-history":[{"count":0,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}