All I can think of from your description is the Header Control, which is often used as part of the Listbox Control.
Header Control : Code Project
If that isn't it, could you provide a common example of another application that uses the control your describing?