TcxCustomStyle.AddListener(IcxStyleChangeListener) Method
Adds the specified listener to the notification list.
Declaration
procedure AddListener(AListener: IcxStyleChangeListener); virtual;
Parameters
Name | Type |
---|---|
AListener | IcxStyleChangeListener |
Remarks
When the attributes provided by the current style object are changed or the style object is destroyed, all the listeners within the notification list receive the corresponding notification. Call the AddListener method to add the listener specified by the AStyles parameter to this list. The listener represents a collection of style links for various component elements. To remove a listener, use the RemoveListener method.
See Also