diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index c246d755ff67c3e5ce6bcc1f956cc26498ac5f50..184d3e098109152d9f4bbb6cca16ee56af04dcfc 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -4209,6 +4209,28 @@ typedef enum { * @since 18 */ NODE_TEXT_PICKER_ENABLE_HAPTIC_FEEDBACK = 15010, + /** + * @brief Defines the background color and border radius of the selected items. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].u32: background color, in 0xARGB format, for example, 0xFF1122FF. \n + * 1: .value[1].f32: radius of the four corners. \n + * 2: .value[1].f32: radius of the upper left corner. \n + * .value[2].f32: radius of the upper right corner. \n + * .value[3].f32: radius of the lower left corner. \n + * .value[4].f32: radius of the lower right corner. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].u32: background color, in 0xARGB format, for example, 0xFF1122FF. \n * + * .value[1].f32: radius of the upper left corner. \n + * .value[2].f32: radius of the upper right corner. \n + * .value[3].f32: radius of the lower left corner. \n + * .value[4].f32: radius of the lower right corner. \n + * + * @since 20 + */ + NODE_TEXT_PICKER_SELECTED_BACKGROUND_STYLE = 15011, /** * @brief Defines the style of the background in the selected state of the calendar picker. * This attribute can be set, reset, and obtained as required through APIs.