CAWaterfallViewCell

2018-09-08 15:35 更新

類說明

作為CAWaterfallViewCell添加進(jìn)WaterfallView。


CAWaterfallViewCell 屬性(點(diǎn)擊查看方法介紹)

屬性說明
ContentView顯示圖像
BackgroundView背景圖像
ReuseIdentifier重用標(biāo)識(shí)符
ItemIndex項(xiàng)目Index
ControlStateEffect控制狀態(tài)
AllowsSelected允許選擇


CAWaterfallViewCell 方法(點(diǎn)擊查看方法介紹)

方法說明
create創(chuàng)建
initWithReuseIdentifier重用標(biāo)識(shí)符初始化


CAWaterfallViewCell 屬性說明

ContentView

類型:CAView*

解釋:顯示圖像,get{}。


BackgroundView

類型:CAView*

解釋:背景圖像,set/get{}。


ReuseIdentifier

類型:std::string

解釋:重用標(biāo)識(shí)符,set/get{}。


ItemIndex

類型:unsigned int

解釋:項(xiàng)目Index,get{}。


ControlStateEffect

類型:bool

解釋:控制狀態(tài),is/set{}。


AllowsSelected

類型:bool

解釋:允許選擇,is/set{}。


CAWaterfallViewCell 方法說明

static CAWaterfallViewCell* create(const std::string& reuseIdentifier);

返回值:CAWaterfallViewCell* 

參數(shù):

類型參數(shù)名說明
const std::string&reuseIdentifier重用標(biāo)識(shí)符

解釋:創(chuàng)建


virtual bool initWithReuseIdentifier(const std::string& reuseIdentifier);

返回值:bool

參數(shù):

類型參數(shù)名說明
const std::string&reuseIdentifier重用標(biāo)識(shí)符

解釋:重用標(biāo)識(shí)符初始化

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)