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 an icon for this RibbonGroup. This icon is displayed by the RibbonGroup's menu button which appears when the RibbonGroup shrinks to a width where its items cannot be displayed anymore. If the size of the icon is smaller than 32x32 1/96 inch, the image is drawn centered on the menu button.
Syntax
public System.Drawing.Image LargeIcon { get; set; }Public Property LargeIcon As System.Drawing.ImageExamples
The following example uses RibbonGroup.LargeIcon to configure large icon as part of the ribbon group workflow. The change is then applied to the active document or user interface.
ribbonGroup.LargeIcon = System.Drawing.Image.FromFile(@"Images\icon.png");
ribbonGroup.Update();ribbonGroup.LargeIcon = System.Drawing.Image.FromFile("Images\icon.png")
ribbonGroup.Update()