TransparentBackground: Boolean;
The TransparentBackground property determines whether the transparent background of the button is used.
TransparentBackground is relevant if the Background property is defined for button states, and the images specified in Background have transparent sections. When the TransparentBackground property is set to True, the button has a transparent background. The areas where the image selected in Background has a transparent section, show background of the parent component of the current button.
NOTE. If the ImageButton component is located over the windowless component, the entire area of the ImageButton component should be within this windowless component for the correct displaying of transparent areas.
By default the TransparentBackground property is set to False, and the areas where the image has transparent sections, show respective part of the button.
NOTE. This property is relevant, if the ControlBorderStyle.None or ControlBorderStyle.Flat border style is selected for the button.
See also: