API Reference > ui-framework > ContentView > ContentGroup ContentGroup Class ContentGroup class. Content Groups define content displayed in content views that are laid out using a ContentLayout. Methods Name Description constructor(groupProps: ContentGroupProps): ContentGroup clearContentControls(): void Clears the map of content controls. getContentControl(contentProps: ContentProps, index: number): undefined | ContentControl Gets a ContentControl from the Content Group based on its ContentProps. getContentControlById(id: string): undefined | ContentControl Gets a ContentControl from the Content Group with a given ID. getContentControls(): ContentControl[] Gets an array of the content controls representing the Content Views. getContentNodes(): ReactNode[] Gets the React nodes representing the Content Views in this Content Group. getControlFromElement(node: ReactNode): undefined | ContentControl Gets the ContentControl associated with a given React node representing a Content View. onFrontstageDeactivated(): void Called when Frontstage is deactivated. onFrontstageReady(): void Called when Frontstage is ready. refreshContentNodes(): void Refreshes the React nodes representing the Content Views in this Content Group.. toJSON(contentCallback?: ContentCallback): ContentGroupProps Creates ContentGroupProps for JSON purposes Properties Name Type Description contentPropsList ContentProps[] groupId string Defined in ui/framework/src/ui-framework/content/ContentGroup.tsx Line 48 Last Updated: 12 June, 2024