Back to Devexpress

ISimpleViewSettings Interface

aspnetcore-js-devexpress-dot-richedit-ead9bc72.md

latest1.1 KB
Original Source

ISimpleViewSettings Interface

Declares the Simple view mode’s settings.

Declaration

ts
export interface ISimpleViewSettings

Remarks

Set the viewType property to Simple to enable the Simple view mode.

javascript
options.view.viewType = DevExpress.RichEdit.ViewType.Simple;
options.view.simpleViewSettings.fixedWidth = 300;
options.view.simpleViewSettings.paddings = {top: 40, right: 40, bottom: 40, left: 40};

Properties

fixedWidth Property

Specifies the width of the Rich Edit content in the Simple view mode.

Declaration

ts
fixedWidth?: number

Property Value

TypeDescription
number

The width, in pixels.

|

paddings Property

Sets page paddings in the Simple view mode.

Declaration

ts
paddings?: IPaddings

Property Value

TypeDescription
IPaddings

An interface that declares padding settings.

|