{"id":14963719,"url":"https://github.com/xceedsoftware/wpf-datagrid-samples","last_synced_at":"2026-03-06T18:36:26.621Z","repository":{"id":248537653,"uuid":"813678885","full_name":"xceedsoftware/WPF-DataGrid-Samples","owner":"xceedsoftware","description":"Samples for the Xceed DataGrid for WPF, these samples will help you get started! For more information visit our website.","archived":false,"fork":false,"pushed_at":"2024-07-16T17:31:07.000Z","size":1325,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T11:06:52.654Z","etag":null,"topics":["datagrid","dotnet","dotnet-framework","grid","gridcontrol","wpf"],"latest_commit_sha":null,"homepage":"https://www.xceed.com","language":"Visual Basic .NET","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xceedsoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-11T14:31:44.000Z","updated_at":"2024-08-22T03:21:10.000Z","dependencies_parsed_at":"2024-09-13T20:00:40.263Z","dependency_job_id":"5193059b-5739-44a1-bf46-06409f64e356","html_url":"https://github.com/xceedsoftware/WPF-DataGrid-Samples","commit_stats":{"total_commits":10,"total_committers":3,"mean_commits":"3.3333333333333335","dds":"0.30000000000000004","last_synced_commit":"8c2de7faa863e21143394a3b7eb2e90aaee3583b"},"previous_names":["xceedsoftware/wpf-datagrid-samples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xceedsoftware%2FWPF-DataGrid-Samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xceedsoftware%2FWPF-DataGrid-Samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xceedsoftware%2FWPF-DataGrid-Samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xceedsoftware%2FWPF-DataGrid-Samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xceedsoftware","download_url":"https://codeload.github.com/xceedsoftware/WPF-DataGrid-Samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242088812,"owners_count":20069859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datagrid","dotnet","dotnet-framework","grid","gridcontrol","wpf"],"created_at":"2024-09-24T13:32:02.871Z","updated_at":"2026-03-06T18:36:26.494Z","avatar_url":"https://github.com/xceedsoftware.png","language":"Visual Basic .NET","readme":"\n\u003c!--\ntags: Xceed DataGrid for WPF, WPF Data Grid, .NET DataGrid, Data Binding, DataGrid Examples, High-Performance Data Grid, WPF Controls, Xceed Software, Data Virtualization, DataGrid Customization, Data Exporting, MVVM, DataGrid Themes, DataGrid Styling\n--\u003e\n\n![NuGet Downloads](https://img.shields.io/nuget/dt/Xceed.Products.Wpf.DataGrid.Full) ![Static Badge](https://img.shields.io/badge/.Net_Framework-4.0%2B-blue) ![Static Badge](https://img.shields.io/badge/.Net-5.0%2B-blue) [![Learn More](https://img.shields.io/badge/Learn-More-blue?style=flat\u0026labelColor=gray)](https://xceed.com/en/our-products/product/datagrid-for-wpf)\n\n[![Xceed DataGrid for WPF](./Resources/header.png)](https://xceed.com/en/our-products/product/datagrid-for-wpf)\n\n# Xceed DataGrid for WPF - Examples\n\nThis repository contains examples demonstrating how to use the Xceed DataGrid for WPF. The examples are provided in both C# and Visual Basic .NET.\n\n## About The Product\n\nThe Xceed DataGrid for WPF is a feature-rich and efficient data grid control for the Windows Presentation Foundation (WPF) framework. Designed to meet the needs of today's developers, it offers a wide range of capabilities to create visually appealing, high-performance, and flexible data grids. Key features include:\n\n- **Performance**: Optimized for fast, responsive data display and handling large datasets.\n- **Themes and Styling**: Includes various themes and styling options to seamlessly integrate with your application's look and feel.\n- **Data Binding**: Supports a variety of data sources, including asynchronous binding.\n- **Editing**: Comprehensive editing capabilities, including multiple edit modes and built-in editors.\n- **Exporting**: Export data to popular formats such as Excel and CSV.\n- **Customizability**: Highly customizable with flexible row and column configurations, custom views, and more.\n- **Advanced Features**: Includes advanced features like data virtualization, grouping, summaries, and more.\n\nFor more information, please visit the [official product page](https://xceed.com/en/our-products/product/datagrid-for-wpf).\n\n## Getting Started with the DataGrid\n\n### 1. Installing the DataGrid from nuget\nTo install the Xceed DataGrid for WPF from NuGet, follow these steps:\n\n1. **Open your project in Visual Studio.**\n2. **Open the NuGet Package Manager Console** by navigating to `Tools \u003e NuGet Package Manager \u003e Package Manager Console`.\n3. **Run the following command:**\n```sh\n   dotnet add package Xceed.Products.Wpf.DataGrid.Full\n```\n\n4. Alternatively, you can use the NuGet Package Manager GUI:\n\n1. Right-click on your project in the Solution Explorer.\n2. Select Manage NuGet Packages.\n3. Search for Xceed.Products.Wpf.DataGrid.Full and click Install.\n\n### 2. Adding a DataGrid to the XAML\n\nTo add a DataGrid to your XAML, follow these steps:\n\n1. **Open your XAML file (e.g., MainWindow.xaml).**\n2. **Add the following namespace at the top of your XAML file:**\n   ```xaml\n   xmlns:xcdg=\"http://schemas.xceed.com/wpf/xaml/datagrid\"\n   ```\n3. **Add the DataGrid control to your layout:**\n   ```xaml\n   \u003cxcdg:DataGridControl x:Name=\"myDataGrid\"\n                         AutoCreateColumns=\"True\"\n                         ItemsSource=\"{Binding YourDataSource}\" /\u003e\n   ```\n4. Ensure your DataContext is set to an appropriate data source in your code-behind or ViewModel.\n\n### 3. How to License the Product Using the LicenseKey Property\nTo license the Xceed DataGrid for WPF using the LicenseKey property, follow these steps:\n\n1. **Obtain your license key** from Xceed. (Download the product from xceed.com or send us a request at support@xceed.com\n2. **Set the LicenseKey property in your application startup code:**\n   ```csharp\n   using System.Windows;\n\n   public partial class MainWindow : Window\n   {\n       public MainWindow()\n       {\n           InitializeComponent();\n           Xceed.Wpf.DataGrid.Licenser.LicenseKey = \"Your-Key-Here\";\n       }\n   }\n   ```\n3. Ensure the license key is set before any DataGrid control is instantiated.\n\n## Examples Overview\n\nBelow is a list of the examples available in this repository:\n\n- **AsyncBinding**: Demonstrates how to bind the DataGrid asynchronously.\n- **BatchUpdating**: Shows how to perform batch updates in the DataGrid.\n- **CardView**: Provides an example of displaying data in a card view layout.\n- **ColumnChooser**: Demonstrates how to implement a column chooser for the DataGrid.\n- **ColumnManagerRow**: Shows how to use a column manager row.\n- **CustomFiltering**: Demonstrates custom filtering techniques.\n- **CustomViews**: Provides examples of custom views in the DataGrid.\n- **DataVirtualization**: Shows how to use data virtualization to enhance performance.\n- **EditModes**: Demonstrates various edit modes available in the DataGrid.\n- **Exporting**: Provides examples of exporting data to different formats.\n- **FlexibleBinding**: Shows how to bind data flexibly.\n- **FlexibleRowsColumn**: Demonstrates flexible row and column configurations.\n- **Formatting**: Provides examples of data formatting.\n- **Grouping**: Demonstrates grouping data in the DataGrid.\n- **IncludedEditors**: Shows how to use included editors.\n- **LargeDataSets**: Demonstrates handling large datasets.\n- **LiveUpdating**: Shows how to update data live.\n- **MasterDetail**: Demonstrates master-detail views.\n- **MergedHeaders**: Shows how to create merged headers.\n- **MultiView**: Demonstrates multiple view configurations.\n- **MVVM**: Provides examples of using MVVM pattern with the DataGrid.\n- **PersistSettings**: Shows how to persist settings.\n- **Printing**: Demonstrates printing capabilities.\n- **Selection**: Shows how to handle selection in the DataGrid.\n- **SpannedCells**: Demonstrates cell spanning techniques.\n- **SummariesAndTotals**: Shows how to implement summaries and totals.\n- **Tableflow**: Demonstrates table flow layout.\n- **TableView**: Shows how to use the table view.\n- **Theming**: Demonstrates theming capabilities.\n- **TreeGridflowView**: Shows how to implement a tree grid flow view.\n- **Validation**: Demonstrates data validation techniques.\n- **Views3D**: Provides examples of 3D views.\n\n## Getting Started with the Samples\n\nTo get started with these examples, clone the repository and open the solution file in Visual Studio.\n\n```bash\ngit clone https://github.com/your-repo/xceed-datagrid-wpf-examples.git\ncd xceed-datagrid-wpf-examples\n```\nOpen the solution file in Visual Studio and build the project to restore the necessary NuGet packages.\n\n## Requirements\n- Visual Studio 2015 or later\n- .NET Framework 4.0 or later\n- .NET 5.0 or later\n  \n## Documentation\n\nFor more information on how to use the Xceed DataGrid for WPF, please refer to the [official documentation](https://doc.xceed.com/xceed-datagrid-for-wpf/webframe.html#rootWelcome.html).\n\n## Licensing\n\nTo receive a license key, visit [xceed.com](https://xceed.com) and download the product, or contact us directly at [support@xceed.com](mailto:support@xceed.com) and we will provide you with a trial key.\n\n## Contact\n\nIf you have any questions, feel free to open an issue or contact us at [support@xceed.com](mailto:support@xceed.com).\n\n---\n\n© 2024 Xceed Software Inc. All rights reserved.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxceedsoftware%2Fwpf-datagrid-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxceedsoftware%2Fwpf-datagrid-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxceedsoftware%2Fwpf-datagrid-samples/lists"}