Back to Devexpress

Appearance Customization in Blazor TreeList

blazor-405088-components-treelist-appearance-customization-appearance-customization.md

latest2.7 KB
Original Source

Appearance Customization in Blazor TreeList

  • Jan 20, 2026

DevExpress TreeList for Blazor allows you to customize cell content and UI element appearance. This topic lists available options.

Styles and Attributes

Like other Blazor components, the TreeList supports custom CSS classes. For some TreeList elements, you can assign classes directly:

TreeList ElementProperty
DxTreeListCssClass
PopupEditFormPopupEditFormCssClass
DxEditSettingsCssClass
DxEditorButtonCssClass
DxDropDownEditSettingsDropDownCssClass
DxDropDownEditSettingsDropDownBodyCssClass

To customize other elements, handle the CustomizeElement event. In the event handler, you can implement conditions under which custom styles are applied to specific components.

Command Display Mode

The TreeList component displays command column actions as icons. Specify DisplayMode to replace icons with captions or display both.

Templates

TreeList templates are RenderFragment<TValue> properties. They replace the default content area rendering and allow you to arrange custom content in various TreeList elements.

For additional information, see the following topic: Templates in Blazor TreeList.

Display Text

The TreeList component creates element content based on the specified data source. You can customize how the component displays text content in data cells, column headers, and summaries.

For additional information, see the following topic: Display Text in Blazor TreeList.