Class TreeGridTextWrapSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeGridTextWrapSettingsBuilder
Namespace: Syncfusion.EJ2.TreeGrid
Assembly: Syncfusion.EJ2.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 |