Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/dotnet/DataGridExtensions

Modular extensions for the WPF DataGrid control
https://github.com/dotnet/DataGridExtensions

Last synced: about 1 month ago
JSON representation

Modular extensions for the WPF DataGrid control

Lists

README

        

# Data Grid Extensions [![Build Status](https://dev.azure.com/tom-englert/Open%20Source/_apis/build/status/DataGridExtensions?repoName=dotnet%2FDataGridExtensions&branchName=master)](https://dev.azure.com/tom-englert/Open%20Source/_build/latest?definitionId=37&repoName=dotnet%2FDataGridExtensions&branchName=master) [![NuGet Status](http://img.shields.io/nuget/v/DataGridExtensions.svg?style=flat)](https://www.nuget.org/packages/DataGridExtensions/)

![Icon](Icon.png)

Modular extensions for the WPF DataGrid control.

## Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).

## .NET Foundation
This project is supported by the

[.NET Foundation](https://dotnetfoundation.org)

## Summary
This package contains useful extensions for the WPF DataGrid (`System.Windows.Controls.DataGrid`).

The current version supports the following features and behaviors:

* Add filtering capabilities to the DataGrid
* Apply the initial sorting
* Disable another control while in editing mode
* Provide additional column events
* Start editing a cell with Ctrl+Enter
* Provide an extended star-size column behavior
* Methods to easily implement Excel-like copy/paste

The binaries are available as [NuGet](http://nuget.org/packages/DataGridExtensions) packages.

Read the [Documentation](Documentation/README.md) about how to use these features.
The [API Documentation](https://dotnet.github.io/DataGridExtensions/) describes the global API for DGX.

Every feature is individually configurable.

This extension is
* Easy to use
* Easy to customize
* Attaches to the existing DataGrid

Unlike many other free extensions this package does not introduce a new derived `DataGrid` class, limiting you a fixed set of features
that you have to live with, but transparently attaches to the existing `DataGrid`, giving you the freedom to use exactly the feature you need,
customizing them as you like, and combining them with other useful extensions.

Filtering is enabled by simply adding one attached property to your DataGrid:

```xml

```

You will get a simple but efficient text or boolean filter, depending on the column type:
![Sample1](Assets/Sample1.jpg)

Every part is easily customizable by providing simple styles or templates:

```xml

```

By overriding the default template you can simply create individual filters:

![Sample2](Assets/Sample2.jpg)

For a full functional demo run the sample app or see the [ResX Resource Manager](https://github.com/dotnet/ResXResourceManager)
or [Project Configuration Manager](https://github.com/tom-englert/ProjectConfigurationManager) projects that use the filtering extensions.

Powered by   ReSharper    

Support this Project: Donate