RibbonComboBox.ShowItemImage Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property ShowItemImage As Boolean
'Usage
Dim instance As RibbonComboBox
Dim value As Boolean
value = instance.ShowItemImage
instance.ShowItemImage = value
public bool ShowItemImage { get; set; }
public:
property bool ShowItemImage {
bool get ();
void set (bool value);
}
public function get ShowItemImage () : boolean
public function set ShowItemImage (value : boolean)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace