# Interface ICefLayout

Description
Hierarchy
Methods
Properties

## Unit

uCEFInterfaces

## Declaration

`type ICefLayout = interface(ICefBaseRefCounted)`

## Description

A Layout handles the sizing of the children of a Panel according to implementation-specific heuristics. Methods must be called on the browser process UI thread unless otherwise indicated.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_layout_capi.h">CEF source file: /include/capi/views/cef_layout_capi.h (cef_layout_t))

## Hierarchy

- IInterface
- ICefBaseRefCounted
- ICefLayout

## Overview

### Methods

Public | `function AsBoxLayout: ICefBoxLayout;`
Public | `function AsFillLayout: ICefFillLayout;`
Public | `function IsValid: boolean;`

### Properties

Public | `property Valid : boolean read IsValid;`

## Description

### Methods

Public | `function AsBoxLayout: ICefBoxLayout;`
Returns this Layout as a BoxLayout or NULL if this is not a BoxLayout. ###### Attributes GUID['{0EC7AE4B-1672-4D0B-B617-0BDA72F3C7F4}']

Public | `function AsFillLayout: ICefFillLayout;`
Returns this Layout as a FillLayout or NULL if this is not a FillLayout.

Public | `function IsValid: boolean;`
Returns true (1) if this Layout is valid.

### Properties

Public | `property Valid : boolean read IsValid;`
This item has no description.

Generated by PasDoc 1.0.4.