# GC.Spread.Sheets.ButtonImageType

## Content

# Enumeration: ButtonImageType

[Spread](../modules/GC.Spread).[Sheets](../modules/GC.Spread.Sheets).ButtonImageType

Specifies the type of cellbutton.

**`example`**
```
//This example sets the type of cellbutton.
//create config
leftButtonConfig1 = {
    caption: "left",
    enabled: true,
    isLeft: true,
    imageType:GC.Spread.Sheets.ButtonImageType.left,
};
rightButtonConfig1 = {
    caption: "left",
    enabled: true,
    isLeft: false,
    imageType:GC.Spread.Sheets.ButtonImageType.right,
};
//create style
var style = new GC.Spread.Sheets.Style();
style.cellButtons=[
     leftButtonConfig1,
     rightButtonConfig1
];
sheet.setStyle(0, 0, style);
```

## Table of contents

### Enumeration members

- [cancel](GC.Spread.Sheets.ButtonImageType#cancel)
- [clear](GC.Spread.Sheets.ButtonImageType#clear)
- [collapse](GC.Spread.Sheets.ButtonImageType#collapse)
- [custom](GC.Spread.Sheets.ButtonImageType#custom)
- [dropdown](GC.Spread.Sheets.ButtonImageType#dropdown)
- [ellipsis](GC.Spread.Sheets.ButtonImageType#ellipsis)
- [expand](GC.Spread.Sheets.ButtonImageType#expand)
- [left](GC.Spread.Sheets.ButtonImageType#left)
- [minus](GC.Spread.Sheets.ButtonImageType#minus)
- [none](GC.Spread.Sheets.ButtonImageType#none)
- [ok](GC.Spread.Sheets.ButtonImageType#ok)
- [plus](GC.Spread.Sheets.ButtonImageType#plus)
- [redo](GC.Spread.Sheets.ButtonImageType#redo)
- [right](GC.Spread.Sheets.ButtonImageType#right)
- [search](GC.Spread.Sheets.ButtonImageType#search)
- [separator](GC.Spread.Sheets.ButtonImageType#separator)
- [spinLeft](GC.Spread.Sheets.ButtonImageType#spinleft)
- [spinRight](GC.Spread.Sheets.ButtonImageType#spinright)
- [undo](GC.Spread.Sheets.ButtonImageType#undo)

## Enumeration members

### <a id="cancel" name="cancel"></a> cancel

• **cancel** = `3`

Indicates the cellbutton type is cancel.

___

### <a id="clear" name="clear"></a> clear

• **clear** = `2`

Indicates the cellbutton type is clear.

___

### <a id="collapse" name="collapse"></a> collapse

• **collapse** = `17`

Indicates the cellbutton type is collapse.

___

### <a id="custom" name="custom"></a> custom

• **custom** = `1`

Indicates the cellbutton type is custom.

___

### <a id="dropdown" name="dropdown"></a> dropdown

• **dropdown** = `5`

Indicates the cellbutton type is dropdown.

___

### <a id="ellipsis" name="ellipsis"></a> ellipsis

• **ellipsis** = `6`

Indicates the cellbutton type is ellipsis.

___

### <a id="expand" name="expand"></a> expand

• **expand** = `18`

Indicates the cellbutton type is expand.

___

### <a id="left" name="left"></a> left

• **left** = `7`

Indicates the cellbutton type is left.

___

### <a id="minus" name="minus"></a> minus

• **minus** = `10`

Indicates the cellbutton type is minus.

___

### <a id="none" name="none"></a> none

• **none** = `0`

Indicates the cellbutton image type is none.

___

### <a id="ok" name="ok"></a> ok

• **ok** = `4`

Indicates the cellbutton type is ok.

___

### <a id="plus" name="plus"></a> plus

• **plus** = `9`

Indicates the cellbutton type is plus.

___

### <a id="redo" name="redo"></a> redo

• **redo** = `12`

Indicates the cellbutton type is redo.

___

### <a id="right" name="right"></a> right

• **right** = `8`

Indicates the cellbutton type is right.

___

### <a id="search" name="search"></a> search

• **search** = `13`

Indicates the cellbutton type is search.

___

### <a id="separator" name="separator"></a> separator

• **separator** = `14`

Indicates the cellbutton type is separator.

___

### <a id="spinleft" name="spinleft"></a> spinLeft

• **spinLeft** = `15`

Indicates the cellbutton type is spinLeft.

___

### <a id="spinright" name="spinright"></a> spinRight

• **spinRight** = `16`

Indicates the cellbutton type is spinRight.

___

### <a id="undo" name="undo"></a> undo

• **undo** = `11`

Indicates the cellbutton type is undo.
