DataGrid.RowHeight Property

Gets or sets the standard height of rows in the control.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public double RowHeight { get; set; }
<sdk:DataGrid RowHeight="double"/>

Property Value

Type: System.Double
The standard height of rows in pixels. The default is 22.


When setting this property, the specified value is greater than 65536.

Dependency property identifier field: RowHeightProperty

If you set this property to a value that is less than 2, the control sets it to 2 automatically.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions