---
schema_version: "1"
id: f36185a9260dcc040d1fb9d67ee0f0bfb5ec2ceb4f84d24a88f22453aff3fa98
title: DescribeLayoutComponent Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_quickaction_describelayoutcomponent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describelayoutcomponent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 200d033fdb94682e011717ecf4694eb75789fe1b403455beaed70e77407ce64d
description: Represents the smallest unit in a layout—a field or a separator.Returns the vertical lines displayed for a field. Applies to textarea and multi-select picklist fields.Returns the tab order for the item in the row.Returns the name of the QuickAction.DescribeLayoutComponent type for this component.Returns the name of the field if the type for QuickAction.DescribeLayoutComponent is textarea.
---
# DescribeLayoutComponent Class

Represents the smallest unit in a layout—a field or a separator.

## Namespace

[QuickAction](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_QuickAction.htm "The QuickAction namespace provides classes and methods for quick actions.")

## DescribeLayoutComponent Methods

The following are methods for DescribeLayoutComponent. All are instance methods.

- **[getDisplayLines()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describelayoutcomponent.htm#apex_QuickAction_DescribeLayoutComponent_getDisplayLines)**  
    Returns the vertical lines displayed for a field. Applies to textarea and multi-select picklist fields.
- **[getTabOrder()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describelayoutcomponent.htm#apex_QuickAction_DescribeLayoutComponent_getTabOrder)**  
    Returns the tab order for the item in the row.
- **[getType()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describelayoutcomponent.htm#apex_QuickAction_DescribeLayoutComponent_getType)**  
    Returns the name of the QuickAction.DescribeLayoutComponent type for this component.
- **[getValue()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describelayoutcomponent.htm#apex_QuickAction_DescribeLayoutComponent_getValue)**  
    Returns the name of the field if the type for QuickAction.DescribeLayoutComponent is textarea.

### getDisplayLines()

Returns the vertical lines displayed for a field. Applies to textarea and multi-select picklist fields.

#### Signature

public Integer getDisplayLines()

#### Return 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.")

### getTabOrder()

Returns the tab order for the item in the row.

#### Signature

public Integer getTabOrder()

#### Return 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.")

### getType()

Returns the name of the QuickAction.DescribeLayoutComponent type for this component.

#### Signature

public String getType()

#### Return 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.")

### getValue()

Returns the name of the field if the type for QuickAction.DescribeLayoutComponent is textarea.

#### Signature

public String getValue()

#### Return 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.")