Ce sujet n'a pas encore été évalué - Évaluez ce sujet

DataGrid.RowHeaderWidth Property

Gets or sets the width of the row header column.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
public double RowHeaderWidth { get; set; }
<sdk:DataGrid RowHeaderWidth="double"/>

Property Value

Type: System.Double
The width of the row header column in pixels. The default is Double.NaN.
ExceptionCondition
ArgumentOutOfRangeException

When setting this property, the specified value is less than 4 or greater than 32768.

Dependency property identifier field: RowHeaderWidthProperty

By default, DataGrid row headers are not displayed. To display row headers, the HeadersVisibility property must be set to DataGridHeadersVisibility.Row or DataGridHeadersVisibility.All. When row headers are displayed, they auto-size to fit their content by default.

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.

Cela vous a-t-il été utile ?
(1500 caractères restants)

Ajouts de la communauté

AJOUTER
Microsoft réalise une enquête en ligne pour recueillir votre opinion sur le site Web de MSDN. Si vous choisissez d’y participer, cette enquête en ligne vous sera présentée lorsque vous quitterez le site Web de MSDN.

Si vous souhaitez y participer,
© 2013 Microsoft. Tous droits réservés.