| ColumnStylesGetDefaultColumnStyles Method |
Gets the default column styles.
Namespace: TomsToolbox.Wpf.XamlExtensionsAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax [AttachedPropertyBrowsableForTypeAttribute(typeof(DataGrid))]
public static DataGridColumnStyleCollection? GetDefaultColumnStyles(
DataGrid dataGrid
)
<AttachedPropertyBrowsableForTypeAttribute(GetType(DataGrid))>
Public Shared Function GetDefaultColumnStyles (
dataGrid As DataGrid
) As DataGridColumnStyleCollection
Parameters
- dataGrid DataGrid
- The data grid.
Return Value
DataGridColumnStyleCollectionThe styles.
See Also