Share via


RibbonLoadImageEventArgs.ImageName Property

Gets the name of the image that is being loaded in the Ribbon.

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

Syntax

'Declaration
ReadOnly Property ImageName As String
string ImageName { get; }

Property Value

Type: System.String
The name of the image that is being loaded in the Ribbon.

Remarks

Use this property in the event handler for the LoadImage event to load an image for a control. If the ImageName property of the RibbonLoadImageEventArgs matches the ImageName property of the control, set the Image property to the image that you want to load.

.NET Framework Security

See Also

Reference

RibbonLoadImageEventArgs Interface

Microsoft.Office.Tools.Ribbon Namespace