RibbonLoadImageEventArgs.ImageName Property

Definition

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

public:
 property System::String ^ ImageName { System::String ^ get(); };
public string ImageName { get; }
member this.ImageName : string
Public ReadOnly Property ImageName As String

Property Value

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.

Applies to