Class TreeGridTextWrapSettings
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
TreeGridTextWrapSettings
Namespace: Syncfusion.EJ2.TreeGrid
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeGridTextWrapSettings : EJTagHelper
Constructors
TreeGridTextWrapSettings()
Declaration
public TreeGridTextWrapSettings()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
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 WrapMode WrapMode { get; set; }
Property Value
Type | Description |
---|---|
WrapMode | The default value is WrapMode.Both |