-api-id | -api-type |
---|---|
P:Microsoft.UI.Text.ITextParagraphFormat.ListLevelIndex |
winrt property |
Gets or sets the list level index used with paragraphs.
The list level index. It can be a value of 0 or higher, as described in the following table.
Value | Meaning |
---|---|
0 | No list. |
1 | First-level (outermost) list. |
2 | Second-level (nested) list. This is nested under a level 1 list item. |
3 | Third-level (nested) list. This is nested under a level 2 list item. |
And so on | Nesting continues similarly. |
Up to three levels are common in HTML documents.
Setting the list level index doesn't automatically change a list's indentation and other paragraph properties.