Click or drag to resize

ColumnStylesGetDefaultColumnStyles Method

Gets the default column styles.

Namespace:  TomsToolbox.Wpf.XamlExtensions
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
[AttachedPropertyBrowsableForTypeAttribute(typeof(DataGrid))]
public static DataGridColumnStyleCollection? GetDefaultColumnStyles(
	DataGrid dataGrid
)

Parameters

dataGrid
Type: System.Windows.ControlsDataGrid
The data grid.

Return Value

Type: DataGridColumnStyleCollection
The styles.
See Also