menu

Class GridTextWrapSettings - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridTextWrapSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    GridTextWrapSettings
    Namespace: Syncfusion.EJ2.Grids
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class GridTextWrapSettings : EJTagHelper

    Constructors

    GridTextWrapSettings()

    Declaration
    public GridTextWrapSettings()

    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

    The wrapMode property defines how the text in the grid cells should be wrapped. The available modes are: Both: Wraps text in both the header and content cells. Content: Wraps text in the content cells only. Header: Wraps texts in the header cells only.

    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