Show: Delphi C++
Display Preferences

FMX.Types.TControl.Opacity

From XE2 API Documentation
Jump to: navigation, search

Delphi

property Opacity: Single read FOpacity write SetOpacity stored IsOpacityStored;

C++

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

Properties

Type Visibility Source Unit Parent
property published
FMX.Types.pas
FMX.Types.hpp
FMX.Types 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

Personal tools
Previous Versions
Translations