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

Syntax

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

Examples

This example shows how to set the LargeIcon property of a RibbonTextBox.

TXTextControl.Windows.Forms.Ribbon.RibbonTextBox MyRibbonTextBox = new TXTextControl.Windows.Forms.Ribbon.RibbonTextBox();
System.Drawing.Image myLargeIcon = System.Drawing.Image.FromFile("MySampleImage32x32");
MyRibbonTextBox.LargeIcon = myLargeIcon;
Dim MyRibbonTextBox As TXTextControl.Windows.Forms.Ribbon.RibbonTextBox = New TXTextControl.Windows.Forms.Ribbon.RibbonTextBox()
Dim myLargeIcon As System.Drawing.Image = System.Drawing.Image.FromFile("MySampleImage32x32")
MyRibbonTextBox.LargeIcon = myLargeIcon