---
schema_version: "1"
id: 03d1bfbf2231e04fe1b6fdbc8b4ed5ee34c49c414a0ec7c54ee273a7398e06d9
title: SummaryLayout Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_Metadata_SummaryLayout.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: db110a9cfc110941c2510822c5d1f44cac70b2d374c2897d4df574c57d441a8a
description: Controls the appearance of the highlights panel, which summarizes key fields in a grid at the top of a page layout, when Case Feed is enabled.The name of the layout label.Number of columns in the highlights pane, between 1 and 4 (inclusive).Number of rows in each column, either 1 or 2.If provided, the setting is not visible to users.Controls the appearance of an individual field and its column and row position within the highlights panel grid, when Case Feed is enabled. At least one is required.Specifies the panel style.Makes a duplicate copy of the Metadata.SummaryLayout.
---
# SummaryLayout Class

Controls the appearance of the highlights panel, which summarizes key fields in a grid at the top of a page layout, when Case Feed is enabled.

## Namespace

[Metadata](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Metadata.htm "The Metadata namespace provides classes and methods for working with custom metadata in Salesforce")

## Usage

Use this class when accessing [Metadata.Layout](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_Layout.htm#apex_class_Metadata_Layout "Represents the metadata associated with a page layout.") metadata components. For more information, see “SummaryLayout” in the [Metadata API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_intro.htm).

- **[SummaryLayout Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_properties)**
- **[SummaryLayout Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_methods)**

## SummaryLayout Properties

The following are properties for SummaryLayout.

- **[masterLabel](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_masterLabel)**  
    The name of the layout label.
- **[sizeX](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_sizeX)**  
    Number of columns in the highlights pane, between 1 and 4 (inclusive).
- **[sizeY](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_sizeY)**  
    Number of rows in each column, either 1 or 2.
- **[sizeZ](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_sizeZ)**  
    If provided, the setting is not visible to users.
- **[summaryLayoutItems](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_summaryLayoutItems)**  
    Controls the appearance of an individual field and its column and row position within the highlights panel grid, when Case Feed is enabled. At least one is required.
- **[summaryLayoutStyle](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_summaryLayoutStyle)**  
    Specifies the panel style.

### masterLabel

The name of the layout label.

![Important](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

#### Signature

public String masterLabel {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### sizeX

Number of columns in the highlights pane, between 1 and 4 (inclusive).

#### Signature

public Integer sizeX {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")

### sizeY

Number of rows in each column, either 1 or 2.

#### Signature

public Integer sizeY {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")

### sizeZ

If provided, the setting is not visible to users.

#### Signature

public Integer sizeZ {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")

### summaryLayoutItems

Controls the appearance of an individual field and its column and row position within the highlights panel grid, when Case Feed is enabled. At least one is required.

#### Signature

public List<Metadata.SummaryLayoutItem> summaryLayoutItems {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Metadata.SummaryLayoutItem](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_class_Metadata_SummaryLayoutItem "Controls the appearance of an individual field and its column and row position within the highlights panel grid, when Case Feed is enabled. You can have two fields per each grid in a highlights panel.")\>

### summaryLayoutStyle

Specifies the panel style.

#### Signature

public Metadata.SummaryLayoutStyleEnum summaryLayoutStyle {get; set;}

#### Property Value

Type: [Metadata.SummaryLayoutStyleEnum](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_Metadata_SummaryLayoutStyleEnum.htm#apex_enum_Metadata_SummaryLayoutStyleEnum "Describes the highlights panel style for a SummaryLayout.")

## SummaryLayout Methods

The following are methods for SummaryLayout.

- **[clone()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayout.htm#apex_Metadata_SummaryLayout_clone)**  
    Makes a duplicate copy of the Metadata.SummaryLayout.

### clone()

Makes a duplicate copy of the Metadata.SummaryLayout.

#### Signature

public Object clone()

#### Return Value

Type: Object