To obtain the button labels, the TabSet inspects each content element to see if it has a description() property. If so, the value of that property is used as the button label. For convenience, the Tab class has a predefined description() property, and can be used to host tabbed page contents, or as the basis for a custom tab control.