Gets or sets a 32x32 1/96 inch icon for this RibbonButton. This icon is shown when the DisplayMode property is set to IconTextRelation.LargeIconLabeled. The default value is IconTextRelation.LargeIconLabeled.

Syntax

public System.Drawing.Image LargeIcon { get; set; }
Public Property LargeIcon() As System.Drawing.Image

Examples

This example shows how to set a RibbonButton´s LargeIcon property by loading an existing image.

TXTextControl.Windows.Forms.Ribbon.RibbonButton ribbonButton = new TXTextControl.Windows.Forms.Ribbon.RibbonButton();
System.Drawing.Image myImage = System.Drawing.Image.FromFile("32x32_SampleImage");
ribbonButton.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.LargeIconLabeled;
ribbonButton.LargeIcon = myImage;
Dim ribbonButton As TXTextControl.Windows.Forms.Ribbon.RibbonButton = New TXTextControl.Windows.Forms.Ribbon.RibbonButton()
Dim myImage As System.Drawing.Image = System.Drawing.Image.FromFile("32x32_SampleImage")
ribbonButton.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.LargeIconLabeled
ribbonButton.LargeIcon = myImage