Dropdown Item - Icon Property

Image displayed within the item

Member of Dropdown Item (PRIM_MD.DropdownItem)

Data Type - String

Details

Name of the Material Icon or Font Awesome icon to be shown on the control.
 
The image displayed is foreground text rather than a background image.
 
If both the Icon and IconImage properties are specified, the Icon will be shown.

Example

This page shows two buttons with Check and Close icons.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME)
 
   Define_Com Class(#PRIM_MD.DROPDOWNITEM) Name(#Check) DisplayPosition(1) Left(64) Parent(#COM_OWNER) TabPosition(1) Top(56) ButtonDefault(True) Icon('check')
   Define_Com Class(#PRIM_MD.DROPDOWNITEM) Name(#Cross) DisplayPosition(2) Left(176) Parent(#COM_OWNER) TabPosition(2) Top(56) ButtonCancel(True) Icon('close')
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2