OfficeRibbon.StartFromScratch Property
Gets or sets a value that indicates whether to hide all built-in tabs on the Ribbon and most commands on the Microsoft Office Menu and display only the customizations that are defined in this Ribbon item.
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Property Value
Type: System.Booleantrue if the Ribbon displays only the customizations that are defined in this Ribbon item; otherwise, false. The default is false.
This property can be set only before the Ribbon is loaded into the Office application. For information about setting this property, see Ribbon Object Model Overview.
You cannot change the visibility of custom tabs at run time if this property is set to true.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.