Alternate color style in DynamicForm

Hi,

In ListGrid we can get alternate color style using “setAlternateRecordStyles(true);”

Same alternate color style I want in DynamicForm or VLayout.

is it possible or not?

Can you please guide me how to do that?