formContext.ui.tabs section (Client API reference)
A section contains methods to manage how it appears as well as accessing the tab that contains the section.
You can retrieve a section object (say sectionObj) by using the following example code:
var tabObj = formContext.ui.tabs.get(arg);
var sectionObj = tabObj.sections.get(arg);
Properties
- controls: The section controls collection provides access to the controls within a section. See Collections (Client API reference) for information about the methods exposed by collections. See Controls (Client API reference) for information about the properties and methods exposed by the objects in this collection.
Methods
Name | Description |
---|---|
getLabel | Returns the label for the section. |
getName | Returns the name of the section. |
getParent | Returns the tab containing the section. |
getVisible | Returns a value that indicates whether the section is currently visible. |
setLabel | Sets the label of the section. |
setVisible | Sets a value that indicates whether the section is visible. |
Related articles
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈