Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomStyles Class

A collection of style links for various component elements.

#Declaration

Delphi

#Remarks

The TcxCustomStyles class supports an abstract collection of style links for various component elements. TcxCustomStyles class descendants declare appropriate styles for different control elements depending upon the control’s type. The style of each control element is a TcxCustomStyle class instance. The style of every element is a TcxCustomStyles or TcxStyle class instance. You can assign the same styles to multiple elements and even to different TcxCustomStyles objects.

The TcxCustomStyles class implements StyleChanged and StyleRemoved methods which are used to respond to style changes and adds itself as a listener of its TcxCustomStyle elements. When any TcxCustomStyle attribute changes, the TcxCustomStyles object receives a notification and updates corresponding control elements.

The StyleSheet property specifies the style sheet applied to the current collection of style links. A style sheet is a collection of styles for control elements that support Styles (for instance, a grid View).

See Also