Class GridTextWrapSettings
Configures grid text wrapping.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridTextWrapSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
GridTextWrapSettings()
Declaration
public GridTextWrapSettings()
Properties
WrapMode
Defines the WrapMode` of the Grid. The available modes are:
- BothDefault. Wraps both header and content.
- HeaderWraps header alone.
- ContentWraps content alone.
Declaration
[Parameter]
public WrapMode WrapMode { get; set; }
Property Value
| Type |
|---|
| WrapMode |
Methods
OnInitializedAsync()
Invoked when the component is initialized. Updates child properties, sets the wrap mode, and refreshes the parent element's class names.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type |
|---|
| Task |
Overrides
OnParametersSetAsync()
Invoked when component parameters are set or updated. Ensures the base parameter logic runs and updates the internal wrap mode if it has changed.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |