Xuni Product Documentation - Xamarin.Forms
Resizing Columns

FlexGrid's AllowResizing property lets a user resize the column by simply touching and dragging the handle between two columns. By default, its value is true. To allow resizing for specific columns, you can set the AllowResizing property for a column instead of the entire FlexGrid.

You can set the AllowResizing property of FlexGrid to false in case you want to restrict resizing at runtime.

C#
Copy Code
grid.AllowResizing = False;

The resizing functionality for columns is useful when a user wants to add data in FlexGrid. The user can simply resize the column as per the requirement directly on the device without requiring to change or set the width in code.

The following code example demonstrates how to set the AllowResizing property in FlexGrid. The example uses sample created in the Quick Start section.

In Code

C#
Copy Code
grid.AllowResizing = True;

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback