Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SimpleViewSettings Class

Contains the Simple view mode’s settings.

#Declaration

TypeScript
export class SimpleViewSettings

#Remarks

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

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

TypeScript
get fixedWidth(): number | undefined
set fixedWidth(width: number | undefined)

#Property Value

Type Description
number

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

#paddings Property

Sets page paddings in the Simple view mode.

#Declaration

TypeScript
get paddings(): IPaddings
set paddings(paddings: IPaddings)

#Property Value

Type Description
IPaddings

An interface that declares padding settings.