Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Reference
 RibbonType Property (2007 System)

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Tools for Office API Reference
OfficeRibbon..::.RibbonType Property (2007 System)

Gets a comma-separated list of Ribbon IDs that are associated with this OfficeRibbon instance.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Visual Basic (Declaration)
Public Property RibbonType As String
Visual Basic (Usage)
Dim instance As OfficeRibbon
Dim value As String

value = instance.RibbonType

instance.RibbonType = value
C#
public string RibbonType { get; set; }

Property Value

Type: System..::.String
A comma-separated list of Ribbon IDs that are associated with this OfficeRibbon instance.

Excel, Word, and PowerPoint typically have only one Ribbon ID in this property. Outlook can have several IDs, corresponding to the various message classes for which the particular OfficeRibbon instance is valid.

The designer provides a drop-down list of valid Ribbon IDs.

Ribbon IDs are used to associate a Ribbon class with a particular context window.

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker