This sample code demonstrates how to write your own custom component that extends the existing ListBox control to support ink collection and recognition.
InkListBox Sample
InkListBox Sample