DataGrid.CanUserResizeRows Property


Gets or sets a value that indicates whether the user can adjust the height of rows by using the mouse.

 property bool CanUserResizeRows { bool get(); void set(bool value); };
public bool CanUserResizeRows { get; set; }
member this.CanUserResizeRows : bool with get, set
Public Property CanUserResizeRows As Boolean

Property Value


true if the user can change the height of the rows; otherwise, false. The registered default is true. For more information about what can influence the value, see DependencyProperty.


This property does not affect whether the height of rows can be changed programmatically, such as by changing the RowHeight property.

Applies to