Class TreeGridTextWrapSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeGridTextWrapSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.TreeGrid
Assembly: Syncfusion.AspNetMvc.TreeGrid.dll
Syntax
public class TreeGridTextWrapSettingsBuilder : ControlBuilder
Constructors
TreeGridTextWrapSettingsBuilder()
Declaration
public TreeGridTextWrapSettingsBuilder()
TreeGridTextWrapSettingsBuilder(TreeGridTextWrapSettings)
Declaration
public TreeGridTextWrapSettingsBuilder(TreeGridTextWrapSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridTextWrapSettings | model |
Methods
WrapMode(WrapMode)
Defines the wrapMode of the TreeGrid, controlling how text wrapping is applied to header and content.
Available wrap modes are:
Both: Wraps both the header and the content of all columns.
Content: Wraps only the content of the columns, allowing headers to remain unchanged.
Header: Wraps only the header text of the columns, while content remains unwrapped.
Declaration
public TreeGridTextWrapSettingsBuilder WrapMode(WrapMode value)
Parameters
| Type | Name | Description |
|---|---|---|
| WrapMode | value |
Returns
| Type |
|---|
| TreeGridTextWrapSettingsBuilder |