Dela via


OfficeRibbon.StartFromScratch Property (2007 System)

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.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Property StartFromScratch As Boolean
'Usage
Dim instance As OfficeRibbon 
Dim value As Boolean 

value = instance.StartFromScratch

instance.StartFromScratch = value
public bool StartFromScratch { get; set; }
public:
property bool StartFromScratch {
    bool get ();
    void set (bool value);
}
public function get StartFromScratch () : boolean 
public function set StartFromScratch (value : boolean)

Property Value

Type: System.Boolean
true if the Ribbon displays only the customizations that are defined in this Ribbon item; otherwise, false. The default is false.

Remarks

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.

.NET Framework Security

See Also

Reference

OfficeRibbon Class

OfficeRibbon Members

Microsoft.Office.Tools.Ribbon Namespace