Partager via


RibbonComboBox.ShowItemImage Property

Gets or sets a value that indicates whether images are displayed for the items in the drop-down menu.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property ShowItemImage As Boolean
bool ShowItemImage { get; set; }

Property Value

Type: System.Boolean
true if the images are displayed; otherwise, false. The default is true.

Remarks

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

For information about setting this property, see Ribbon Object Model Overview.

.NET Framework Security

See Also

Reference

RibbonComboBox Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview