The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGrid.MaxColumnWidth Property

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

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

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

Property Value

Type: System.Double
The maximum column width in pixels. The default is Double.PositiveInfinity.


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

Dependency property identifier field: MaxColumnWidthProperty


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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft