menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridTextWrapSettings - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved