Control Interfaces

  1. #1

    Control Interfaces

    Something I'm finding very limiting is that the Ext.Net Controls is not having any common base class or interface. I'm having to write simple support functions for every control just to set common properties.

    What would be nice is a nice set of interfaces that all basic controls subscribe to for common properties like text, html, class, visible, tooltips, etc. MS has the WebControl base class but obviously that's not going to work here, so that's why I'm proposing interfaces.

    Obviously some thought would need to go into this, but it seems to me that a simple grid of all ext.net controls and their properties/methods on the horizontal, would expose the majority intution for groups of interfaces.

    No control library is really complete without some sense of common bases.
  2. #2
    The other good thing about this suggestion is it wouldn't break any existing code.
  3. #3
    Hi,

    How about Ext.Net.XControl?

    All components within Ext.NET inherit from XControl.
    Geoffrey McGill
    Founder
  4. #4
    --Darn it. Login timeout ate my response. It said it posted but didn't.--

    I'm not going to repost all that data again, but the short answer is...

    I'll try to come up with something a little more like a proposal if I can ever find the time. XControl is too low level to be an asset. Component isn't high enough either. And Microsoft Interfaces like ITextControl really limit value to only MS controls.

Similar Threads

  1. Replies: 7
    Last Post: Jan 29, 2013, 11:59 AM
  2. Replies: 0
    Last Post: Jul 26, 2012, 1:47 PM
  3. Replies: 0
    Last Post: May 16, 2012, 11:29 PM
  4. Replies: 6
    Last Post: Dec 07, 2011, 12:55 PM
  5. Replies: 8
    Last Post: Jan 25, 2011, 4:21 AM

Posting Permissions