API:FMX.TreeView.TTreeView.AlternatingRowBackground
Delphi
property AlternatingRowBackground: Boolean read FAlternatingRowBackground write SetAlternatingRowBackground default 0;
C++
__property AlternatingRowBackground = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.TreeView.pas FMX.TreeView.hpp |
FMX.TreeView | TTreeView |
Description
Specifies whether the rows in this tree view are drawn in alternating colors.
FMX.TreeView.TTreeView.AlternatingRowBackground inherits from FMX.TreeView.TCustomTreeView.AlternatingRowBackground. All content below this line refers to FMX.TreeView.TCustomTreeView.AlternatingRowBackground.
Specifies whether the rows in this tree view are drawn in alternating colors.
Set AlternatingRowBackground to determine the way the background of the rows in this tree view is drawn. If you set AlternatingRowBackground to True, then the rows will be drawn with alternating background colors, otherwise they will be drawn using the same color.
Tip: The style applied to this tree view component defines the alternating colors.