Skip to main content

CanUserResize Property

Gets or sets a value that indicates whether the user can adjust the column width using the mouse.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

public bool CanUserResize { get; set; }

Return Value

Boolean
true if the user can resize the column; false if the user cannot resize the column. The default is the current CanUserResizeColumns property value.

See Also

Reference

DataGridColumn Class
Avalonia.Controls Namespace