Back to Devexpress

ListLevelSettings Class

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

latest4.4 KB
Original Source

ListLevelSettings Class

Contains the list level’s properties.

Declaration

ts
export class ListLevelSettings

Properties

alignment Property

Gets or sets the alignment of the list level’s number or bullet.

Declaration

ts
alignment: ListLevelNumberAlignment

Property Value

TypeDescription
ListLevelNumberAlignment

The alignment.

|

displayFormatString Property

Gets or sets the pattern used to format the list level’s number or bullet.

Declaration

ts
displayFormatString: string

Property Value

TypeDescription
string

The format pattern.

|

Remarks

The format pattern can include fixed literals and indexed placeholders.

An indexed placeholder is an integer from 0 to 8 enclosed in curly brackets (for instance, “{0}”). A placeholder index corresponds to the list level’s number or bullet depending on the format property value.

firstLineIndent Property

Gets or sets the first line indent of the list level’s paragraphs.

Declaration

ts
firstLineIndent: number

Property Value

TypeDescription
number

The first line indent in twips.

|

firstLineIndentType Property

Gets or sets whether and how the first line of a list level’s paragraph is indented.

Declaration

ts
firstLineIndentType: ParagraphFirstLineIndent

Property Value

TypeDescription
ParagraphFirstLineIndent

The first line’s indent type.

|

Remarks

When the firstLineIndentType property is set to Indented or Hanging, the firstLineIndent property determines the indent value.

fontBold Property

Gets or sets whether the list level’s number or bullet is bold.

Declaration

ts
fontBold: boolean

Property Value

TypeDescription
boolean

true if the list level's number or bullet is bold; otherwise, false.

|

fontColor Property

Gets or sets the color of the list level’s number or bullet.

Declaration

ts
fontColor: string

Property Value

TypeDescription
string

The color.

|

fontItalic Property

Gets or sets whether the list level’s number or bullet is italicized.

Declaration

ts
fontItalic: boolean

Property Value

TypeDescription
boolean

true if the list level's number or bullet is italicized; otherwise, false.

|

fontName Property

Gets or sets the font name of the list level’s number or bullet.

Declaration

ts
fontName: string

Property Value

TypeDescription
string

The font name.

|

fontSize Property

Gets or sets the font size of the list level’s number or bullet.

Declaration

ts
fontSize: number

Property Value

TypeDescription
number

The font size.

|

format Property

Gets or sets the number or bullet format of the list level’s paragraphs.

Declaration

ts
format: ListLevelFormat

Property Value

TypeDescription
ListLevelFormat

The list level format.

|

leftIndent Property

Gets or sets the left indent of the list level’s paragraphs.

Declaration

ts
leftIndent: number

Property Value

TypeDescription
number

The left indent in twips.

|

separator Property

Gets or sets the character inserted between the list level’s number or bullet and paragraph text.

Declaration

ts
separator: string

Property Value

TypeDescription
string

The trailing character for the list level.

|

Remarks

Only space and tab characters are valid values for the separator property.

start Property

Gets the start position of the list level’s number.

Declaration

ts
start: number

Property Value

TypeDescription
number

The start position.

|