Sdílet prostřednictvím


RibbonPositionStatics.AfterOfficeId(String) Method

Definition

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

public:
 Microsoft::Office::Tools::Ribbon::RibbonPosition ^ AfterOfficeId(System::String ^ officeId);
public Microsoft.Office.Tools.Ribbon.RibbonPosition AfterOfficeId (string officeId);
abstract member AfterOfficeId : string -> Microsoft.Office.Tools.Ribbon.RibbonPosition
Public Function AfterOfficeId (officeId As String) As RibbonPosition

Parameters

officeId
String

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

Returns

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

Remarks

Use this method or the BeforeOfficeId method to create RibbonPosition object.

The ID is a name that uniquely identifies a control, group, or tab that is built into a Microsoft Office application. For a list of IDs, see the Microsoft Download Center Web page Office 2010 Help Files: Office Fluent User Interface Control Identifiers.

Applies to