Jesse Carter
Jesse Carter

Reputation: 21187

Determine Type of data in datagrid column

I have a datagrid that is bound using XAML to specific properties of a class. Is there a way programmatically to determine what Type is attached to that column in the C# code?

Upvotes: 0

Views: 334

Answers (1)

Damyan Bogoev
Damyan Bogoev

Reputation: 696

Each column definition of the grid has a DependencyObjectType property which is a wrapper for the underlying Clr type.

Upvotes: 2

Related Questions