diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181ac76ff83c6715222ed08f405ff01032..8f3551e0d03262d90ee6e8f11472f5a1872db715 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3822,6 +3822,25 @@ typedef enum { * */ NODE_TEXT_PICKER_DEFAULT_PICKER_ITEM_HEIGHT, + /** + * @brief Defines the background color, and border radius for the selected item in the text picker. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .string: array of five parameters of the string type, separated by semicolons (;).\n + * Parameter 1: background color, in #ARGB format.\n + * Parameter 2: radius of the four corners.\n + * Example: "#ff182431;8".\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .string: array of five parameters of the string type, separated by semicolons (;).\n + * Parameter 1: background color, in #ARGB format.\n + * Parameter 2: radius of the four corners.\n + * Example: "#ff182431;8".\n + * + * @since 16 + */ + NODE_TEXT_PICKER_SELECTED_TEXT_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.