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.
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 gallery 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.Windows.Media.Imaging.BitmapSource of the large icon that is associated with an item and specified by an identifier or Scalable Vector Graphics (SVG) stream parameter.
GetSmallIcon Gets a System.Windows.Media.Imaging.BitmapSource of the small icon that is associated with an item and specified by an identifier or 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.