Categories: CrossApp 教程

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

这个人很懒,什么都没有留下~

Share
Published by
admin

Recent Posts

自定义指令:聊聊vue中的自定义指令应用法则

今天我们来聊聊vue中的自定义…

6 天 ago

聊聊Vue中@click.stop和@click.prevent

一起来学下聊聊Vue中@cli…

2 周 ago

Nginx 基本操作:启动、停止、重启命令。

我们来学习Nginx基础操作:…

2 周 ago

Vue3:手动清理keep-alive组件缓存的方法

Vue3中手动清理keep-a…

3 周 ago

聊聊React和Vue组件更新的实现及区别

React 和 Vue 都是当…

4 周 ago