The ResourceProvider class provides static methods to receive bitmaps or strings from sources that can be accessed via an assigned identifier.

Syntax

public class ResourceProvider
Public Class ResourceProvider

Introduced: X17.

Enumerations

Enumeration Description
BarcodeItem Each BarcodeItem represents a drop-down item inside the RibbonInsertTab's TXITEM_Insert_Barcode drop-down menu.
ChartItem Each ChartItem represents a list view item inside the RibbonInsertTab's TXITEM_InsertChart drop-down menu.
FileMenuItem Each FileMenuItem represents the identifier for a file menu item.
GeneralItem Each GeneralItem represents the identifier for a general item.
ShapeItem Each ShapeItem represents a list view item inside the RibbonInsertTab's TXITEM_InsertShape drop-down menu.

Methods

Method Description
GetKeyTip Gets the key tip that is associated with an item and specified by the identifier parameter.
GetLargeIcon Gets a System.Drawing.Bitmap of the large icon that is associated with an item and specified by an identifier or a Scalable Vector Graphics (SVG) stream parameter.
GetSmallIcon Gets a System.Drawing.Bitmap of the small icon that is associated with an item and specified by an identifier or a Scalable Vector Graphics (SVG) stream parameter.
GetText Gets the text that is associated with an item and specified by the identifier parameter.
GetToolTipDescription Gets the tool tip description that is associated with an item and specified by the identifier parameter.
GetToolTipTitle Gets the tool tip title that is associated with an item and specified by the identifier parameter.

Further Reading

Learn more about the TXTextControl.Windows.Forms.ResourceProvider Class in the Text Control Blog: