Vcl.Ribbon.TCustomRibbonGroup.Assign

From RAD Studio API Documentation
Jump to: navigation, search

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.Ribbon.pas
Vcl.Ribbon.hpp
Vcl.Ribbon TCustomRibbonGroup

Description

Copies the information from a ribbon group to another.

Use Assign to copy another object's information to the ribbon group. If the Source is another ribbon group, Assign replaces the current's ribbon group information with the information of the Source. If Source is nil (Delphi) or NULL (C++), Assign clears the ribbon group. If Source is any other type of object, Assign calls its inherited method, which can copy from any source object that implements a way to copy to a ribbon group in its AssignTo method.

See Also