Compartilhar via


RibbonDropDown.Buttons A propriedade (sistema de 2007)

Obtém o RibbonButtonCollection botões que pertencem a este RibbonDropDown.

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

Sintaxe

Public ReadOnly Property Buttons As RibbonButtonCollection

Dim instance As RibbonDropDown
Dim value As RibbonButtonCollection

value = instance.Buttons
public RibbonButtonCollection Buttons { get; }

Valor de propriedade

Tipo: Microsoft.Office.Tools.Ribbon.RibbonButtonCollection
The RibbonButtonCollection botões que pertencem a este RibbonDropDown.

Comentários

The RibbonDropDown controle pode conter ambos RibbonDropDownItem controles e RibbonButton controles.

Você pode adicionar botões à Buttons propriedade antes da faixa de opções é carregado. Para obter mais informações, consulte Visão geral do modelo de objeto da Faixa de Opções.

Permissões

Consulte também

Referência

RibbonDropDown Classe

Membros RibbonDropDown

Namespace Microsoft.Office.Tools.Ribbon

RibbonDropDown.Items

RibbonDropDown

Outros recursos

Visão geral do modelo de objeto da Faixa de Opções