# Layout Modes

The **RadRichTextBox** allows you to choose between several layout modes.

* [Paged](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/getting-started/features-layout-modes#paged)

* [Flow](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/getting-started/features-layout-modes#flow)

* [FlowNoWrap](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/getting-started/features-layout-modes#flownowrap)

### Paged

When using the paged mode, the content of the edited document is divided into pages. The size and layout of each page are defined by the **DefaultPageLayoutSettings** property of [RadDocument](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/document-elements/features-raddocument) and specifically - the **Width** and **Height** properties of the **PageLayoutSettings** object.

Next, the margins of the control in a page are specified by the **PageMargin** property of each [Section](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/document-elements/features-section).

In **Paged** mode, resizing a **RadRichTextBox** will not affect the document layout but scroll bars will appear if the document does not fit in the view.

![RadRichTextBox in Paged Layout Mode](https://www.telerik.com/products/wpf/documentation/assets/d0df89170204aeda5f10744576b66a56/radrichtextbox_layoutmodes_paged.png)

### Flow

In **Flow** layout mode, the document content is not divided into pages. Instead the whole content is displayed as in a TextBox or RichTextBox. This layout option resembles **MS Word’s Web-Layout** mode. The width of the document is the same as that of the **RadRichTextBox** and changing the control’s width will also resize the content of the document.

![RadRichTextBox in Flow Layout Mode](https://www.telerik.com/products/wpf/documentation/assets/a79b5e9f7cbc8a93a1215855fbc35c77/radrichtextbox_layoutmodes_flow.png)

### FlowNoWrap

The **FlowNoWrap** layout mode is similar to the **Flow** layout mode, but it doesn't allow the text in the separate paragraphs to get wrapped when the free space gets exceeded. Instead a horizontal scroll bar will appear.

![RadRichTextBox in FlowNoWrap Layout Mode](https://www.telerik.com/products/wpf/documentation/assets/01dbfba2e39567220ed79adb718ce5d5/radrichtextbox_layoutmodes_flownowrap.png)

### Change the Layout Mode

#### **\[XAML] Example 1: Setting the layout mode**

```XAML
	<telerik:RadRichTextBox x:Name="radRichTextBox" LayoutMode="Paged"/>
```

#### **\[C#] Example 1: Setting the layout mode**

```C#
	this.radRichTextBox.LayoutMode = DocumentLayoutMode.Paged;
```

#### **\[VB.NET] Example 1: Setting the layout mode**

```VB.NET
	Me.radRichTextBox.LayoutMode = DocumentLayoutMode.Paged
```

## See Also

* [History](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/history)
