CAWaterfallViewCell

类说明

作为CAWaterfallViewCell添加进WaterfallView。

CAWaterfallViewCell 属性(点击查看方法介绍)

属性说明
ContentView显示图像
BackgroundView背景图像
ReuseIdentifier重用标识符
ItemIndex项目Index
ControlStateEffect控制状态
AllowsSelected允许选择

CAWaterfallViewCell 方法(点击查看方法介绍)

方法说明
create创建
initWithReuseIdentifier重用标识符初始化

CAWaterfallViewCell 属性说明

ContentView

类型:CAView*

解释:显示图像,get{}。

BackgroundView

类型:CAView*

解释:背景图像,set/get{}。

ReuseIdentifier

类型:std::string

解释:重用标识符,set/get{}。

ItemIndex

类型:unsigned int

解释:项目Index,get{}。

ControlStateEffect

类型:bool

解释:控制状态,is/set{}。

AllowsSelected

类型:bool

解释:允许选择,is/set{}。


CAWaterfallViewCell 方法说明

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

返回值:CAWaterfallViewCell* 

参数:

类型参数名说明
const std::string&reuseIdentifier重用标识符

解释:创建

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

返回值:bool

参数:

类型参数名说明
const std::string&reuseIdentifier重用标识符

解释:重用标识符初始化

作者:admin,如若转载,请注明出处:https://www.web176.com/crossapp/10190.html

(0)
打赏 支付宝 支付宝 微信 微信
adminadmin
上一篇 2023年2月21日
下一篇 2023年2月21日

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注