Partager via


CMFCRibbonBaseElement::GetLocationInGroup

Indicates the display location of the ribbon element in a ribbon group.

RibbonElementLocation GetLocationInGroup() const;

Return Value

A RibbonElementLocation enumerated value. The following table lists possible values.

Value

Description

RibbonElementNotInGroup

The ribbon element is not contained in a ribbon group.

RibbonElementSingleInGroup

The ribbon element is displayed as the only item in a ribbon group.

RibbonElementFirstInGroup

The ribbon element is displayed on the left end of a ribbon group.

RibbonElementLastInGroup

The ribbon element is displayed on the right end of a ribbon group.

RibbonElementMiddleInGroup

The ribbon element is not displayed on either end of a ribbon group.

Remarks

Ribbon element groups are only aligned horizontally.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart