[]
        
(Showing Draft Content)

GC.Spread.Sheets.ButtonImageType

枚举: ButtonImageType

Spread.Sheets.ButtonImageType

指定cellbutton的类型

代码示例

//本示例设置了cellbutton的类型
//创建配置
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,
};
//创建样式
var style = new GC.Spread.Sheets.Style();
style.cellButtons=[
     leftButtonConfig1,
     rightButtonConfig1
];
sheet.setStyle(0, 0, style);

Table of contents

枚举值成员

枚举值成员

cancel

cancel = 3

类型为cancel


clear

clear = 2

类型为clear


collapse

collapse = 17

类型为collapse


custom

custom = 1

类型是自定义


dropdown = 5

类型为dropdown


ellipsis

ellipsis = 6

类型为ellipsis


expand

expand = 18

类型为expand


left

left = 7

类型为left


minus

minus = 10

类型为minus


none

none = 0

类型为none


ok

ok = 4

类型为ok


plus

plus = 9

类型为plus


redo

redo = 12

类型为redo


right = 8

类型为right


search = 13

类型为search


separator

separator = 14

类型为separator


spinLeft

spinLeft = 15

类型为spinLeft


spinRight

spinRight = 16

类型为spinRight


undo

undo = 11

类型为undo