Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Enum GroupControlTogglePosition
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
GroupControlTogglePosition
列舉值,代表群組控制項切換鈕可能的可能位置。
如要呼叫列舉,您可以呼叫其父項類別、名稱和屬性。例如
SpreadsheetApp.GroupControlTogglePosition.BEFORE。
屬性
| 屬性 | 類型 | 說明 |
BEFORE | Enum | 控制項切換鈕位於群組之前的位置 (指數越低)。 |
AFTER | Enum | 控制項切換鈕位於群組之後的位置 (指數較高)。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-04-13 (世界標準時間)。
[null,null,["上次更新時間:2026-04-13 (世界標準時間)。"],[],["`GroupControlTogglePosition` is an enumeration with two properties: `BEFORE` and `AFTER`. `BEFORE` signifies the control toggle is positioned before the group, corresponding to lower indices. `AFTER` indicates the control toggle is after the group, aligning with higher indices. To access these properties, use the format `SpreadsheetApp.GroupControlTogglePosition.PROPERTY_NAME`, replacing `PROPERTY_NAME` with either `BEFORE` or `AFTER`. This describes where the user will see the control toggle relative to the group.\n"]]