The GetContentRect function has been added to the TcxButtonViewInfo class. This function is an equivalent of the ContentRect property, which was removed in VCL 13.1.1. The GetContentRect function requires you to pass a specific button state as a parameter. You can obtain the current button state using the TcxButtonViewInfo.State property.
TcxButton - The TcxButtonViewInfo class has no equivalent for the removed ContentRect property
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.