Vcl.DBGrids.TColumnTitle.Assign
Delphi
procedure Assign(Source: TPersistent); override;
C++
virtual void __fastcall Assign(System::Classes::TPersistent* Source);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TColumnTitle |
Description
Copies the contents of the source column title to a new column title.
Assign copies the Alignment, Color, Caption, and Font values of the source object if it is another column title. Otherwise, it calls the inherited method, which allows properties to be copied from any object that implements its AssignTo method with a target of TColumn.