The example demonstrates how to use custom control as sub-item control.
Download the file by clicking the link above.