Back to Devexpress

SimpleViewSettings Class

aspnetcore-js-devexpress-dot-richedit-98b71329.md

latest1.2 KB
Original Source

SimpleViewSettings Class

Contains the Simple view mode’s settings.

Declaration

ts
export class SimpleViewSettings

Remarks

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

javascript
richEdit.viewType = DevExpress.RichEdit.ViewType.Simple;
richEdit.simpleViewSettings.fixedWidth = 300;
richEdit.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
get fixedWidth(): number | undefined
set fixedWidth(width: number | undefined)

Property Value

TypeDescription
number

The width in pixels. undefined if the width is not specified.

|

paddings Property

Sets page paddings in the Simple view mode.

Declaration

ts
get paddings(): IPaddings
set paddings(paddings: IPaddings)

Property Value

TypeDescription
IPaddings

An interface that declares padding settings.

|