SmallIcon 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 16x16 1/96 inch icon for this RibbonGroup. This icon is displayed by the RibbonGroup's quick access toolbar tool strip item.
Syntax
public System.Drawing.Image SmallIcon { get; set; }Public Property SmallIcon As System.Drawing.ImageExamples
The following example uses RibbonGroup.SmallIcon to configure small icon as part of the ribbon group workflow. The change is then applied to the active document or user interface.
ribbonGroup.SmallIcon = System.Drawing.Image.FromFile(@"Images\icon.png");
ribbonGroup.Update();ribbonGroup.SmallIcon = System.Drawing.Image.FromFile("Images\icon.png")
ribbonGroup.Update()