How to create a contextual menu/ribbon for editing hatch?

I would like to know how to create a ribbon tab like in AutoCAD, where selecting a hatch opens the editing options ribbon

Comments