Custom button

How do you combine several commands into 1 custom dropdown button like this.

SolidworksUser Interface