GithubHelp home page GithubHelp logo

webjose / wj.databinding Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 52 KB

Databinding helper classes to work with data binding controls in both Windows Forms and WPF.

License: MIT License

C# 87.37% Smalltalk 12.63%

wj.databinding's People

Contributors

webjose avatar

Watchers

 avatar

wj.databinding's Issues

New Feature: Ability to arbitrarily remove property descriptors

In case not all properties are wanted/needed in the data-bound control (usually a grid control), give the consumer of the class the ability to effectively remove property descriptors during data-binding in order to limit the number of columns generated in data-bound grid controls.

Container class that merges multiple objects / Clase contenedora que une múltiples objetos

Create a class, much like the Container class, that does the same but for 2 or more classes. I do not yet have a clear practical use case in mind. If anyone has one, please write it down for me.

Crear una clase básicamente como la clase Container que hace lo mismo pero para 2 o más clases. No tengo aún un caso de uso práctico claro en mente. Si alguien tiene uno, por favor me lo escriben.

New feature: Ability to sort properties

Give the Container class the ability to sort the properties in any way the consumer of the class desires.

Ideally, give the consumer of the class the ability to sort using an IComparer<PropertyDescriptor> or explicitly providing a list of property names.

Because the property descriptors are usually implicitly requested, the most intuitive API could be a sorting event that fires after property descriptors are collected but before they are passed on to the data-bound control that requested them.

Alternatively simply add sorting-related properties:

  • OrderList: List of property names already sorted.
  • SortBy: Enum with options to sort by OrderList, by property source, or by comparer object.
  • Comparer: IComparable<PropertyDescriptor object to use with the sorting algorithm.

The potential problem here is that it would require to configure every object since it is strictly not documented which object is used to retrieve property descriptors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.