From 352bec2790ccc1f1befd53b1323416ce2b9e502e Mon Sep 17 00:00:00 2001 From: houguobiao Date: Tue, 26 Nov 2024 21:29:45 +0800 Subject: [PATCH] =?UTF-8?q?TextPicker=E7=BB=84=E4=BB=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=BA=A7=E8=88=B1=E6=96=87=E6=9C=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houguobiao Change-Id: I0fea4d07885c2f3c63cb55411e62713274a5605b --- arkui/ace_engine/native/native_node.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181..8f3551e0d 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. -- Gitee