Member variable XbpToolBarButton():disabledImage Foundation
Specifies the image displayed by a disabled tool bar button.
If a tool bar button is disabled the system displays an alternate image to signify the button's disabled state. Normally, a ghosted version of the button's standard image is used. However, the image displayed by a disabled tool bar button can be changed through the <xDisabledImage> parameter to XbpToolBar:addItem(). To do this, the application assigns an instance of the XbpBitmap or XbpIcon classes. The object can be used to load images both from the application's resource as well as from disk. Alternatively, a button's :disabledImage instance variable may be used to change its image after it has been added to a XbpToolBar instance.
Note that changing an existing tool bar button's disabled image is an expensive operation. Therefore, we recommend to use method XbpToolBar:addItem() to define a tool bar button's images.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.