51672a94创建于 2025年12月30日历史提交

ArkUI_GridItemSize

typedef struct {...} ArkUI_GridItemSize

Overview

Defines the return value structure for the onGetIrregularSizeByIndex callback in Grid layout options.

Since: 22

Related module: ArkUI_NativeModule

Header file: native_type.h

Sample: native_type_sample

Summary

Member Variables

Name Description
uint32_t rowSpan Number of rows occupied by the GridItem component.
uint32_t columnSpan Number of columns occupied by the GridItem component.