RWT Theming Reference > ExpandBar

## ExpandBar

RWT ExpandBar controls. It can be used to represent a category or group of elements.

### Available CSS Properties

Properties that can be defined for this element:

- border

  The border that is drawn around an ExpandBar.

- border-bottom

  The bottom side border for ExpandBar.

- border-left

  The left side border for ExpandBar.

- border-radius

  Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.

- border-right

  The right side border for ExpandBar.

- border-top

  The top side border for ExpandBar.

- color

  Text color for expand item boxes. Applied to the expand item header label.

- font

  Font for expand item boxes. Applied to the expand item header label.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [BORDER]

  Style constant for bordered behavior.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :disabled

  Applies to disbled ExpandBar controls.

## ExpandItem

The ExpandItem.

### Available CSS Properties

Properties that can be defined for this element:

- border

  The border that is drawn around an ExpandItem

- border-bottom

  The bottom side border for ExpandItem.

- border-left

  The left side border for ExpandItem.

- border-radius

  Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.

- border-right

  The right side border for ExpandItem.

- border-top

  The top side border for ExpandItem.

### Applicable SWT Styles

none

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :expanded

  Applies while the ExpandItem is expanded.

## ExpandItem-Header

The ExpandItem titlebar.

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for the expand item header.

- background-image

  Background image or gradient for the expand item header.

- border

  The border that is drawn around ExpandItem header.

- border-bottom

  The bottom side border for ExpandItem header.

- border-left

  The left side border for ExpandItem header.

- border-radius

  Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.

- border-right

  The right side border for ExpandItem header.

- border-top

  The top side border for ExpandItem header.

- cursor

  Expand item header cursor.

- text-shadow

  Shadow for text.

### Applicable SWT Styles

none

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :disabled

  Applies for disabled ExpandBars.

- :expanded

  Applies while the ExpandItem is expanded.

## ExpandItem-Button

The ExpandItem collapse/expand button.

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  Background image for the ExpandItem collapse/expand button. The size of the image should be 16 x 16 pixels.

### Applicable SWT Styles

none

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :expanded

  Applies while the ExpandItem is expanded.

- :hover

  Applies while the user hovers over a button.