Data.Bind.Components.TCommonBindComponent.MemberRenaming

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.Bind.Components.pas
Data.Bind.Components.hpp
Unit: Data.Bind.Components
Parent: TCommonBindComponent

Delphi

procedure MemberRenaming(AComponent: TComponent; const ACurMemberName, ANewMemberName: string); virtual;

C++

virtual void __fastcall MemberRenaming(System::Classes::TComponent* AComponent, const System::UnicodeString ACurMemberName, const System::UnicodeString ANewMemberName);

Description

May be called by the source component to notify binding components that a member of the source component has been renamed, giving the binding components an opportunity to update their expressions.

The AComponent parameter specifies the source component.

The ACurMemberName parameter specifies the current name of the member, while the ANewMemberName parameter specifies the new name of the member.

MemberRenaming is part of the implementation of the IBindMemberChange interface.

See Also