It's definitely possible, I did that when I was playing with making a Gantt
chart. I think I made a wrapper class that loaded the HSlider, but you
should be able to just extend HSlider as well. Your general idea of
extending HSlider and implementing the correct interfaces should work. What
makes you think there should be more work than that? Try it out.

Doug

On 3/15/07, tungchau81 <[EMAIL PROTECTED]> wrote:

  Hi everybody,
I wonder if it is possible to extend HSlider class and make it work as
in-line Item Editor(Renderer). I love to use DataGrid and HSlider
together, but currently HSlider does not implement IDataRenderer,
IListItemRenderer, and IDropInListItemRenderer interfaces. It seems to
me that making my CustomHSlider extend HSlider and implement the above
3 interfaces is not enough. There must be some more work to do in the
background. Am I right?

I simply want to know if anybody here has ever tried to do the same
thing and whether it is possible at all to covert an HSlider to an in-
line Item Renderer.

Any advice is greatly appreciated,
Tung Chau

Reply via email to