LayoutSection Class
Represents a section of a page layout, such as the Custom Links section.
Use this class when accessing Metadata.Layout metadata components. For more information, see “LayoutSection” in the Metadata API Developer Guide.
The following are properties for LayoutSection.
-
Indicates if this section’s label is custom or standard (built-in).
-
Controls whether this heading appears on the detail page.
-
Controls whether this heading appears on the edit page.
-
The label; either standard or custom, based on the customLabel property.
-
Lists the layout columns. You can have one, two, or three columns, ordered left to right, are possible.
-
The style of the layout for this section.
Indicates if this section’s label is custom or standard (built-in).
public Boolean customLabel {get; set;}
Type: Boolean
Controls whether this heading appears on the detail page.
public Boolean detailHeading {get; set;}
Type: Boolean
Controls whether this heading appears on the edit page.
public Boolean editHeading {get; set;}
Type: Boolean
The label; either standard or custom, based on the customLabel property.
public String label {get; set;}
Type: String
Lists the layout columns. You can have one, two, or three columns, ordered left to right, are possible.
public List<Metadata.LayoutColumn> layoutColumns {get; set;}
Type: List<Metadata.LayoutColumn>
The style of the layout for this section.
public Metadata.LayoutSectionStyle style {get; set;}
Type: Metadata.LayoutSectionStyle
The following are methods for LayoutSection.
-
Makes a duplicate copy of the
Metadata.LayoutSection.
Makes a duplicate copy of the Metadata.LayoutSection.
public Object clone()
Type: Object