Enum EventColor
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
رنگ رویداد شماره ای که رنگ های رویداد نامگذاری شده موجود در سرویس Calendar را نشان می دهد.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. به عنوان مثال، CalendarApp.EventColor.PALE_BLUE
.
خواص
اموال | تایپ کنید | توضیحات |
---|
PALE_BLUE | Enum | آبی کم رنگ ( "1" )، که در رابط کاربری تقویم به عنوان "طاووس" نامیده می شود. |
PALE_GREEN | Enum | سبز کم رنگ ( "2" )، که در UI تقویم به عنوان "Sage" نامیده می شود. |
MAUVE | Enum | Mauve ( "3" )، که در رابط کاربری تقویم به عنوان "انگور" نامیده می شود. |
PALE_RED | Enum | قرمز کم رنگ ( "4" )، که در رابط کاربری تقویم به عنوان "فلامینگو" نامیده می شود. |
YELLOW | Enum | زرد ( "5" )، که در رابط کاربری تقویم به عنوان "موز" نامیده می شود. |
ORANGE | Enum | نارنجی ( "6" )، که در رابط کاربری تقویم به عنوان "نارنگی" نامیده می شود. |
CYAN | Enum | فیروزه ای ( "7" )، که در UI تقویم به عنوان "Lavender" نامیده می شود. |
GRAY | Enum | خاکستری ( "8" )، به عنوان "گرافیت" در UI تقویم. |
BLUE | Enum | آبی ( "9" )، که در رابط کاربری تقویم به عنوان "Blueberry" نامیده می شود. |
GREEN | Enum | سبز ( "10" )، که در رابط کاربری تقویم به عنوان "ریحان" نامیده می شود. |
RED | Enum | قرمز ( "11" )، که در رابط کاربری تقویم به عنوان "گوجه فرنگی" نامیده می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eEventColor\u003c/code\u003e is an enum used in Google Apps Script to represent the colors available for calendar events.\u003c/p\u003e\n"],["\u003cp\u003eYou can access these colors by calling \u003ccode\u003eCalendarApp.EventColor\u003c/code\u003e followed by the specific color property, like \u003ccode\u003eCalendarApp.EventColor.PALE_BLUE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eEventColor\u003c/code\u003e property corresponds to a specific color with both a numerical value and a user-friendly name displayed in the Calendar UI.\u003c/p\u003e\n"]]],[],null,["# Enum EventColor\n\nEventColor\n\nAn enum representing the named event colors available in the Calendar service.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCalendarApp.EventColor.PALE_BLUE`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|----------------------------------------------------------------|\n| `PALE_BLUE` | `Enum` | Pale Blue (`\"1\"`), referred to as \"Peacock\" in th Calendar UI. |\n| `PALE_GREEN` | `Enum` | Pale Green (`\"2\"`), referred to as \"Sage\" in th Calendar UI. |\n| `MAUVE` | `Enum` | Mauve (`\"3\"`),, referred to as \"Grape\" in th Calendar UI. |\n| `PALE_RED` | `Enum` | Pale Red (`\"4\"`), referred to as \"Flamingo\" in th Calendar UI. |\n| `YELLOW` | `Enum` | Yellow (`\"5\"`), referred to as \"Banana\" in th Calendar UI. |\n| `ORANGE` | `Enum` | Orange (`\"6\"`), referred to as \"Tangerine\" in th Calendar UI. |\n| `CYAN` | `Enum` | Cyan (`\"7\"`), referred to as \"Lavender\" in th Calendar UI. |\n| `GRAY` | `Enum` | Gray (`\"8\"`), referred to as \"Graphite\" in th Calendar UI. |\n| `BLUE` | `Enum` | Blue (`\"9\"`), referred to as \"Blueberry\" in th Calendar UI. |\n| `GREEN` | `Enum` | Green (`\"10\"`), referred to as \"Basil\" in th Calendar UI. |\n| `RED` | `Enum` | Red (`\"11\"`), referred to as \"Tomato\" in th Calendar UI. |"]]