blazor-devexpress-dot-blazor-dot-dxtreeview-46593671.md
Specifies whether word wrap is enabled.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(true)]
[Parameter]
public bool TextWrapEnabled { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to enable word wrap; otherwise, false.
|
If a Text value does not fit into a node as a single line, the node displays multiple lines of text. Set the TextWrapEnabled property to false to disable word wrap and trim extra words:
<div class="container">
<DxTreeView TextWrapEnabled="false">
<Nodes>
<DxTreeViewNode Text="Data Binding">
<Nodes>
<DxTreeViewNode Text="Large Data (Instant Feedback Source)" />
<DxTreeViewNode Text="Large Data (Queryable)" />
<DxTreeViewNode Text="Unbound Columns" />
</Nodes>
</DxTreeViewNode>
</Nodes>
</DxTreeView>
</div>
.container {
border: 2px dashed black;
width: 300px;
}
See Also