Individual properties in a property pane are shown as fields. Each field has a field type, such as textbox or link.
The allowed and currently supported field types are as follows:
- Label, for text labels
- Textbox, for a single-line text entry
- Multi-line textbox, for a multi-line text entry
- Checkbox, for a single checkable item
- Dropdown, for a drop-down list of selectable items
- Link, for clickable URLs
- Slider, for a slider for selecting a value
- Toggle, for an on/off toggle switch
- Custom, for a custom field type
You would typically use several fields to provide a number of selections within a tool pane. The custom field is something you would use when none of the built-in field types fit your purpose. We will look at custom field types later in this chapter.