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; }

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;