ui.Checkbox.getValue
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نشان می دهد که آیا کادر انتخاب علامت زده شده است یا خیر. یک مقدار تهی نشان می دهد که چک باکس در وضعیت نامشخصی قرار دارد.
استفاده | برمی گرداند | Checkbox. getValue () | بولی |
استدلال | تایپ کنید | جزئیات | این: ui.checkbox | ui.Checkbox | نمونه ui.Checkbox. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eCheckbox.getValue()\u003c/code\u003e returns a Boolean value indicating whether a checkbox is checked or not.\u003c/p\u003e\n"],["\u003cp\u003eA return value of \u003ccode\u003enull\u003c/code\u003e signifies that the checkbox is in an indeterminate state.\u003c/p\u003e\n"],["\u003cp\u003eThe method is used with a \u003ccode\u003eui.Checkbox\u003c/code\u003e instance to retrieve its current checked status.\u003c/p\u003e\n"]]],[],null,["# ui.Checkbox.getValue\n\n\u003cbr /\u003e\n\nReturns whether the checkbox is checked. A null value indicates the checkbox is in an indeterminate state.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| Checkbox.getValue`()` | Boolean |\n\n| Argument | Type | Details |\n|---------------------|-------------|---------------------------|\n| this: `ui.checkbox` | ui.Checkbox | The ui.Checkbox instance. |"]]