Share via


RibbonPosition Members (2007 System)

Include Protected Members
Include Inherited Members

Represents the location of a Ribbon control on the Microsoft Office Menu relative to a built-in control, the location of a tab relative to a built-in tab, or the location of a group relative to a built-in group.

The RibbonPosition type exposes the following members.

Methods

 

Name

Description

Public methodStatic member

AfterOfficeId

Returns a new RibbonPosition that represents the location of a control, group, or tab after the specified built-in control, group, or tab.

Public methodStatic member

BeforeOfficeId

Returns a new RibbonPosition that represents the location of a control, group, or tab before a built-in control, group, or tab.

Public method

Equals

Overloaded. Indicates whether two RibbonPosition objects are equal.

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns a hash code for the current RibbonPosition. (Overrides Object.GetHashCode().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Overrides Object.ToString().)

Top

Fields

 

Name

Description

Public fieldStatic member

Default

Gets a RibbonPosition that has default values.

Top

Properties

 

Name

Description

Public property

OfficeId

Gets the ID of the built-in Ribbon control, group, or tab that the current RibbonPosition uses to define a relative location for another control, group, or tab.

Public property

PositionType

Gets a value that indicates whether the current RibbonPosition represents a location before or after a built-in control, group, or tab.

Top

See Also

Reference

RibbonPosition Class

Microsoft.Office.Tools.Ribbon Namespace