FMX.Controls.TControl.Opacity

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Opacity: Single read FOpacity write SetOpacity stored IsOpacityStored nodefault;

C++

__property float Opacity = {read=FOpacity, write=SetOpacity, stored=IsOpacityStored};

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Specifies the control opacity.

Set Opacity to customize the transparency of the current control.

Opacity takes values between 0 and 1. If Opacity is 1, the control is completely opaque; if it is 0, the control is completely transparent. The values over 1 are treated as 1, and the ones under 0 are treated as 0.

Opacity applies to the control's children.

See Also