FMX.BufferedLayout.TBufferedLayout
![TBufferedLayout](/images/Libraries/Alexandria/e/9/99/FMX.BufferedLayout.TBufferedLayout.png)
Delphi
TBufferedLayout = class(TCustomBufferedLayout)
C++
class PASCALIMPLEMENTATION TBufferedLayout : public TCustomBufferedLayout
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.BufferedLayout.pas FMX.BufferedLayout.hpp |
FMX.BufferedLayout | FMX.BufferedLayout |
Description
For a better understanding of the TBufferedLayout, let’s meet the definition of a layout.
A layout is a container for other graphical objects when you need to organize multiple graphical controls under the same parent. For instance, you can use these layouts when you need to create rich FireMonkey applications with many graphical controls that are grouped on the same layer. You can set the visibility of all the controls on a layout at once by affecting the visibility of the layout.
In the case of TBufferedLayout control, it stores its graphical content (including the graphical content of its internal controls) in a memory buffer, so in case there is no change, it can be repainted by displaying the buffer rather than repainting each internal control. In many cases, the net effect is a faster refresh of the UI of the control.