RibbonLoadImageEventArgs.ImageName Property (2007 System)

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

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

Syntax

'Declaration
Public ReadOnly Property ImageName As String
'Usage
Dim instance As RibbonLoadImageEventArgs 
Dim value As String 

value = instance.ImageName
public string ImageName { get; }
public:
property String^ ImageName {
    String^ get ();
}
public function get ImageName () : String

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 Class

RibbonLoadImageEventArgs Members

Microsoft.Office.Tools.Ribbon Namespace