FMX.Menus.TMenuItem.Bitmap
Delphi
property Bitmap: TBitmap read FBitmap write SetBitmap;
C++
__property Fmx::Graphics::TBitmap* Bitmap = {read=FBitmap, write=SetBitmap};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | TMenuItem |
Description
A bitmap that is drawn on the TMenuItem menu item.
Use Bitmap to provide a custom image that appears next to the text of the TMenuItem.
Bitmap is an obsolete feature. We recommend to show images stored in a centralized collection of images. Such image is specified with the ImageIndex property from the image list specified with Images. If an image specified with ImageIndex and Images is not empty, the TMenuItem object shows this image. Otherwise, the TMenuItem object shows the image specified in Bitmap.