Automatically linking and style change when insert linked module

When I insert a tax module without an income statement module, the NPBT row in the assumptions sheet is styled as an assumption. Then when I insert an income statement module it changes to an output style and links in the NPBT line from the income statement. How do I apply this same functionality to a custom module that I am building? I can’t find this covered in the training materials

Can anyone help?

Subscribe to RSS - styles