DataGridColumn.

GetColumnContainingElement(IControl) Method

Summary

Returns the column which contains the given element
Namespace
Avalonia.Controls
Containing Type
DataGridColumn

Syntax

public static DataGridColumn GetColumnContainingElement(IControl element)

Parameters

Name Type Description
element IControl element contained in a column

Return Value

Type Description
DataGridColumn Column that contains the element, or null if not found