Export (0) Print
Expand All

DataGrid.MinColumnWidth Property

Gets or sets the minimum width of columns in the DataGrid.

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

'Declaration
Public Property MinColumnWidth As Double
<sdk:DataGrid MinColumnWidth="double"/>

Property Value

Type: System.Double
The minimum column width in pixels. The default is 20.

ExceptionCondition
ArgumentOutOfRangeException

When setting this property, the specified value is less than zero or greater than MaxColumnWidth.

Dependency property identifier field: MinColumnWidthProperty

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.

Community Additions

ADD
Show:
© 2014 Microsoft