匯出 (0) 列印
全部展開

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.

ExceptionCondition
ArgumentOutOfRangeException

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.

Silverlight

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.

社群新增項目

新增
顯示:
© 2014 Microsoft