RichText Editor in Silverlight and more from DevExpress

Sign in to queue

Description

Another opportunity I had at MIX09 was to talk to the guys from DevExpress about the controls they are working on.  Azret Botash explains how they are going after the features that people say can't be done and doing them. In this video he demos their Silverlight-based Rich text Editor along with their WPF-based Datagrid.

Embed

Download

Download this episode

The Discussion

  • User profile image
    Odi
    The rich text editor for Silverlight looks interesting!

    EDIT: Just noticed that's my colleague Charles discussing with @IanET right behind Azret Smiley
  • User profile image
    DCMonkey
    That text editor is neat. Too bad Silverlight doesn't support printing or right click menus.

  • User profile image
    stevo_
    Actually you can handle the right click to do context menus, just with a bit of trickery.
  • User profile image
    DCMonkey
    But you shouldn't have to. Cut/Copy/Paste on a textbox context menu has been a standard feature in Windows for almost 15 years. If MS expects Silverlight LOB apps to compete with desktop apps or even plain HTML forms they need to include stuff like this by default.
  • User profile image
    Scarabus
    Wow. That guy has great taste in music. Nightwish sure, but Kamelot took me by surprise!
    http://www.youtube.com/watch?v=Tjh0HEe22ys
    Metal at its best.

    Oh and the controls were neat too Tongue Out
  • User profile image
    stevo_
    Yea def, that and supporting dragging and dropping onto (and out of?) silverlight.. when asked they said it was a security issue.. more like an excuse.
  • User profile image
    rhm
    Rich text layout is something you can do in Silverlight, but because of the absence of the FormattedText class you have to do a lot of extra, quite hacky, work. You can only 'measure' text by creating a TextBlock object and then testing it's ActualWidth property. So you have to add your text to it one word at a time and see when the line gets too long for the space you have in your layout, take the last word back out, position it in your container and repeat. And you have to sort-of guess the line spacing and baseline heights because there's no font metrics class.

    I'm pretty staggered that FormattedText is still not in Silverlight 3 beta. Somebody needs to get Bill Hill on the Silverlight team's case because right now Silverlight is just for stupid animations - I can't take any UI technology seriously when it doesn't take text formatting seriously. Right now Silverlight is barely more powerful than AJAX as far as text rendering is concerned.
  • User profile image
    darkliahos
    This looks interesting, I am just getting to grips with Silverlight!
  • User profile image
    Breezest
    It would be great if I can use it to edit post in the blog.

Add Your 2 Cents