FMX.ImgList.TGlyph.AutoHide
Delphi
property AutoHide: Boolean read FAutoHide write SetAutoHide default True;
C++
__property bool AutoHide = {read=FAutoHide, write=SetAutoHide, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.ImgList.pas FMX.ImgList.hpp |
FMX.ImgList | TGlyph |
Description
Defines that the TGlyph control itself manages the value of the Visible property.
When AutoHide is True
, then:
- In the Design mode, Visible is always
True
and inaccessible. - During the run time of an application, Visible is
True
if the control contains some graphics (BitmapExists isTrue
). Otherwise, Visible isFalse
. If the application code tries to set a new value to Visible, then this value is ignored.
The Visible value has meaning for the Align property when Align is notNone
. If Visible isTrue
, then an empty visible control draws the empty space occupied by the control. If Visible isFalse
, then an empty invisible control does not draw the empty space.
When AutoHide is False
, then the Visible value can be set programmatically at ran time or using the Object Inspector at design time.