You're asking about Expandable Properties. I have a few examples in the MSDN code samples linked to in my signature...

Edit: It's not a 2 minute process, but the examples are complete