# Class TCEFPanelComponent

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFPanelComponent

## Declaration

`type TCEFPanelComponent = class(TCEFViewComponent, ICefPanelDelegateEvents)`

## Description

This item has no description.

## Hierarchy

- TObject
- TPersistent
- TComponent
- TCEFViewComponent
- TCEFPanelComponent

## Overview

### Fields

Protected | `FPanel: ICefPanel;`

### Methods

Protected | `procedure DestroyView; override;`
Protected | `procedure Initialize; override;`
Protected | `function GetInitialized: boolean; override;`
Protected | `function GetAsView: ICefView; override;`
Protected | `function GetAsPanel: ICefPanel; override;`
Protected | `function GetAsWindow: ICefWindow; virtual;`
Protected | `function GetChildViewCount: NativeUInt;`
Protected | `procedure doCreateCustomView; override;`
Public | `procedure CreatePanel;`
Public | `function SetToFillLayout: ICefFillLayout;`
Public | `function SetToBoxLayout(const settings: TCefBoxLayoutSettings): ICefBoxLayout;`
Public | `function GetLayout: ICefLayout;`
Public | `procedure Layout;`
Public | `procedure AddChildView(const view: ICefView);`
Public | `procedure AddChildViewAt(const view: ICefView; index: Integer);`
Public | `procedure ReorderChildView(const view: ICefView; index: Integer);`
Public | `procedure RemoveChildView(const view: ICefView);`
Public | `procedure RemoveAllChildViews;`
Public | `function GetChildViewAt(index: Integer): ICefView;`

### Properties

Public | `property AsWindow : ICefWindow read GetAsWindow;`
Public | `property ChildViewCount : NativeUInt read GetChildViewCount;`

## Description

### Fields

Protected | `FPanel: ICefPanel;`
This item has no description.

### Methods

Protected | `procedure DestroyView; override;`
This item has no description.

Protected | `procedure Initialize; override;`
This item has no description.

Protected | `function GetInitialized: boolean; override;`
This item has no description.

Protected | `function GetAsView: ICefView; override;`
This item has no description.

Protected | `function GetAsPanel: ICefPanel; override;`
This item has no description.

Protected | `function GetAsWindow: ICefWindow; virtual;`
This item has no description.

Protected | `function GetChildViewCount: NativeUInt;`
This item has no description.

Protected | `procedure doCreateCustomView; override;`
ICefViewDelegateEvents

Public | `procedure CreatePanel;`
Create a new Panel.

Public | `function SetToFillLayout: ICefFillLayout;`
Set this Panel's Layout to FillLayout and return the FillLayout object.

Public | `function SetToBoxLayout(const settings: TCefBoxLayoutSettings): ICefBoxLayout;`
Set this Panel's Layout to BoxLayout and return the BoxLayout object.

Public | `function GetLayout: ICefLayout;`
Get the Layout.

Public | `procedure Layout;`
Lay out the child Views (set their bounds based on sizing heuristics specific to the current Layout).

Public | `procedure AddChildView(const view: ICefView);`
Add a child View.

Public | `procedure AddChildViewAt(const view: ICefView; index: Integer);`
Add a child View at the specified |index|. If |index| matches the result of GetChildCount() then the View will be added at the end.

Public | `procedure ReorderChildView(const view: ICefView; index: Integer);`
Move the child View to the specified |index|. A negative value for |index| will move the View to the end.

Public | `procedure RemoveChildView(const view: ICefView);`
Remove a child View. The View can then be added to another Panel.

Public | `procedure RemoveAllChildViews;`
Remove all child Views. The removed Views will be deleted if the client holds no references to them.

Public | `function GetChildViewAt(index: Integer): ICefView;`
Returns the child View at the specified |index|.

### Properties

Public | `property AsWindow : ICefWindow read GetAsWindow;`
Returns this Panel as a Window or NULL if this is not a Window.

Public | `property ChildViewCount : NativeUInt read GetChildViewCount;`
Returns the number of child Views.

Generated by PasDoc 1.0.4.