LargeIcon Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
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.ImageExamples
The following example uses RibbonTextBox.LargeIcon to configure large icon as part of the ribbon text box workflow. The change is then applied to the active document or user interface.
ribbonTextBox.LargeIcon = System.Drawing.Image.FromFile(@"Images\icon.png");
ribbonTextBox.Update();ribbonTextBox.LargeIcon = System.Drawing.Image.FromFile("Images\icon.png")
ribbonTextBox.Update()