[]
        
(Showing Draft Content)

GC.Spread.Sheets.ButtonImageType

Enumeration: ButtonImageType

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

Enumeration members

cancel

cancel = 3

Indicates the cellbutton type is cancel.


clear

clear = 2

Indicates the cellbutton type is clear.


collapse

collapse = 17

Indicates the cellbutton type is collapse.


custom

custom = 1

Indicates the cellbutton type is custom.


dropdown = 5

Indicates the cellbutton type is dropdown.


ellipsis

ellipsis = 6

Indicates the cellbutton type is ellipsis.


expand

expand = 18

Indicates the cellbutton type is expand.


left

left = 7

Indicates the cellbutton type is left.


minus

minus = 10

Indicates the cellbutton type is minus.


none

none = 0

Indicates the cellbutton image type is none.


ok

ok = 4

Indicates the cellbutton type is ok.


plus

plus = 9

Indicates the cellbutton type is plus.


redo

redo = 12

Indicates the cellbutton type is redo.


right = 8

Indicates the cellbutton type is right.


search = 13

Indicates the cellbutton type is search.


separator

separator = 14

Indicates the cellbutton type is separator.


spinLeft

spinLeft = 15

Indicates the cellbutton type is spinLeft.


spinRight

spinRight = 16

Indicates the cellbutton type is spinRight.


undo

undo = 11

Indicates the cellbutton type is undo.