About 168,000 results
Open links in new tab
  1. The DataGrid control - The complete WPF tutorial

    An introduction to the WPF DataGrid control, with a simple example to get you started.

  2. DataGrid in WPF - C# Corner

    In this article, I demonstrated how to use a DataGrid control in WPF, set its properties and display data using an object collection. I also discussed how to format rows, columns, their visibility, and scrolling. We also saw, how to make rows read-only and set selection mode property.

  3. DataGrid Class (System.Windows.Controls) | Microsoft Learn

    Examples. The following example shows how to bind a DataGrid to a DataTable and use column auto-generation. The DataTable is populated by using the Fill method of a DataAdapter from a DataSet. For more information, see Creating a DataSet and Populating a DataSet from a …

  4. DataGrid - WPF .NET Framework | Microsoft Learn

    Mar 15, 2023 · Describes how to set up a new WPF project, add an Entity Framework Element, set the source, and display the data in a DataGrid. Describes how to create row details for a DataGrid. Describes how to validate values in DataGrid cells …

  5. WPF - DataGrid Examples - Dot Net Perls

    Apr 15, 2025 · This example uses DataGrid and its ItemsSource property with a List. First, create a WPF project and drag a DataGrid to your window. Then In the XAML, add the attribute "Loaded" to the DataGrid.

  6. WPF DataGrid Practical Examples - CodeProject

    Nov 12, 2008 · This article provides a number of practical examples which demonstrate how to perform validation, styling, and DataSet integration with the new WPF DataGrid.

  7. How to: Group, sort, and filter data in the DataGrid control

    Aug 12, 2021 · To group, sort, and filter the data in a DataGrid, you bind it to a CollectionView that supports these functions. You can then work with the data in the CollectionView without affecting the underlying source data. The changes in the collection view are …

  8. How to Implement a DataGrid in C# WPF: A Comprehensive Example

    Aug 20, 2024 · In this blog post, we explored how to implement a DataGrid in a C# WPF application. By following the examples and guidelines provided here, you can effectively integrate a DataGrid to manage and display tabular data in your WPF projects.

  9. DataGrid with row details - The complete WPF tutorial

    Being able to show details for a DataGrid row is extremely useful, and with the WPF DataGrid it's both easy and highly customizable, as you can see from the examples provided in this tutorial.

  10. WPF DataGrid in C#: The Ultimate Guide for Beginners

    Feb 25, 2013 · The WPF DataGrid is an absolutely powerful control that gives you tremendous flexibility for displaying and manipulating tabular data. While it might seem complex at first, you’ll soon discover that its rich feature set and customization options make it far superior to the Windows Forms DataGrid.

  11. Some results have been removed
Refresh